APC (PHP Opcode Cache)
Find out what the acronym ‘APC’ is short for, what exactly APC is able to do PHP efficiency-wise and ways to activate it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and could speed up such a website up to 3 times. PHP sites are dynamic and any time a visitor accesses a webpage, the script links to a database in order to get some content, and then the code is parsed and compiled before it is displayed to the visitor. In case the output code doesn't change however, that's the case with sites that display the same content all of the time, such actions trigger needless reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database doesn't have to be accessed and the program code doesn't have to be parsed and compiled continuously, that consequently lowers the site loading time. The module can be really useful for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC for your web applications with any of the shared website hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that is provided with our shared solutions and a few minutes later it will begin caching the program code of your software apps. Our platform is rather flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and pick the version that each site will use, or you can have the same version of PHP, but enable or disable APC just for specified websites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.