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 boost a database-driven website several times. Every time a PHP page is opened, the script pulls the site content that has to be displayed from a database, parses and compiles the code, and the result is shown to the visitor. While this is necessary for sites with regularly changing content, it's a total waste of processing time and resources for a site that does not change, for instance an informational portal that shows the exact same content on a regular basis. When the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a user opens them. As this saves the time to request content from the database and to parse and compile the code, the Internet site will load significantly quicker. APC is really efficient in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web apps with all of the shared hosting packages that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take only a click inside the Hepsia Control Panel that is provided with our shared plans and a few minutes later it will begin caching the code of your apps. Our platform is rather flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the entire account and specify the version that each website can use, or you could have the same version of PHP, but enable or disable APC just for specific Internet sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.