APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven site several times. Every time a PHP webpage is opened, the script pulls the site content which has to be shown from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a total waste of processing time and system resources for an Internet site that doesn't change, for instance an informational portal which displays identical content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them each time a website visitor loads them. As this saves the time to collect content from the database and to parse and compile the program code, your website will load significantly quicker. APC is very useful especially for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to employ APC for your web applications with any of the cloud hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Enabling it will take just a click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll begin caching the code of your apps. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For instance, you can activate APC for a couple of releases of PHP for the entire account and set the version that each Internet site will use, or you can have the very same version of PHP, but activate or deactivate APC only for specified Internet sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.