APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites store their content within a database that is accessed whenever a visitor opens a page. The content which needs to be displayed is gathered and the code is parsed and compiled before it's delivered to the website visitor. All these actions need some processing time and include reading and writing on the server for every single page which is loaded. While this cannot be avoided for Internet sites with constantly changing content, there are a lot of websites which feature the very same content on a lot of of their webpages constantly - blogs, info portals, hotel and restaurant sites, etc. APC is quite useful for this kind of websites since it caches the previously compiled code and shows it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only greatly reduce the server load, but it'll also raise the speed of any Internet site many times.

APC (PHP Opcode Cache) in Shared Website Hosting

You can use APC for your web apps with any of the shared website hosting packages that we offer since it's 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 start caching the program code of your software apps. Our platform is rather flexible, so you'll be able to use several configurations in accordance with the system requirements of the scripts. For instance, you will be able to activate APC for several versions of PHP for the entire account and specify the version that each Internet site can use, or you could have the very same version of PHP, but activate or deactivate APC just for particular sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.