APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could speed up a database-driven site several times. Any time a PHP webpage is opened, the script pulls the content which has to be loaded from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for websites with regularly changing content, it is a waste of processing time and resources for an Internet site which doesn't change, for instance an informational portal that shows the very same content all the time. When the web pages for such a website are compiled, APC caches them and delivers them whenever a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load much quicker. APC is very helpful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web applications with any of the cloud hosting packages that we provide because it's pre-installed on our cloud website hosting platform. Activating it will take just a single click inside the Hepsia Control Panel which comes with our shared solutions and a few minutes later it will start caching the code of your software applications. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you could activate APC for several releases of PHP for the whole account and choose the version that each site can use, or you could have the exact same version of PHP, but activate or deactivate APC just for specified websites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom setup.