APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites keep their content inside a database that is accessed whenever a visitor opens a page. The content which should be viewed is retrieved and the code is parsed and compiled before it's delivered to the website visitor. These actions take some processing time and require reading and writing on the server for each page that is loaded. While this cannot be avoided for websites with regularly changing content, there are a lot of Internet sites that have the same content on a number of of their pages constantly - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is quite useful for this type of Internet sites since it caches the previously compiled code and shows it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. Not only will this reduce the server load, but it will also increase the speed of any website many times.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC for your web apps with any of the cloud hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Activating it will take just a click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it'll begin caching the code of your apps. Our platform is very flexible, so you will be able to use different configurations based on the system requirements of the scripts. For instance, you will be able to activate APC for several releases of PHP for the entire account and pick the version that each site can use, or you can have the same version of PHP, but enable or disable APC just for specific sites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the customized configuration.