Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script applications. It is very efficient for scripts with large source code and can accelerate such a website up to three times. PHP sites are dynamic and whenever a user accesses some page, the script connects to a database in order to get some content, and then the code is parsed and compiled before it is displayed to the visitor. If the output code does not change however, that's the case with websites that display the exact same content all the time, such actions result in unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse an Internet site, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled over and over again, that consequently decreases the website loading time. The module could be really helpful for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to employ APC for your web applications with any of the cloud hosting packages that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a single click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll begin caching the code of your applications. Our platform is really flexible, so you will be able to use several configurations determined by the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and select the version that each website can use, or you can have the exact same version of PHP, but enable or disable APC just for specific sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the customized setup.