APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven website several times. When a PHP page is accessed, the script pulls the site content that needs to be loaded from a database, parses and compiles the program code, then the result is shown to the site visitor. While this is necessary for websites with constantly changing content, it is a total waste of processing time and resources for an Internet site that does not change, for example an informational portal that displays the exact same content on a regular basis. As soon as the web pages for such a site are compiled, APC caches them and delivers them each time a visitor accesses them. As this saves the time to get content from the database and to parse and compile the program code, your website will load considerably quicker. APC is very effective especially for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You will be able to use APC for your web apps with any of the shared website hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Activating it will take just a click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will begin caching the code of your software apps. Our platform is quite flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and set the version that each website will use, or you can have the same version of PHP, but enable or disable APC just for specified Internet sites. This is done by putting a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.