APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can boost a database-driven site several times. When a PHP page is accessed, the script pulls the website content that needs to be displayed from a database, parses and compiles the code, then the result is shown to the website visitor. While this is necessary for sites with routinely changing content, it's a total waste of processing time and resources for a site that does not change, for example an informational portal that displays identical content all the time. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them each time a visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, the Internet site will load much quicker. APC is very effective in particular for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

You'll be able to employ APC for your web apps with any of the cloud web hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that is provided with our shared plans and a few minutes later it will start caching the program code of your software apps. Our platform is extremely flexible, so you'll be able to use different configurations depending on the system requirements of the scripts. For instance, you can activate APC for several releases of PHP for the entire account and pick the version that each site can use, or you could have the exact same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.