APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP sites keep their content within a database which is accessed whenever a visitor opens a webpage. The content that should be viewed is gathered and the code is parsed and compiled before it is delivered to the website visitor. These actions take some processing time and require reading and writing on the web server for each page which is loaded. While this cannot be avoided for sites with constantly changing content material, there're a lot of Internet sites which feature the exact same content on a number of of their pages at all times - blogs, info portals, hotel and restaurant websites, and many others. APC is quite useful for this kind of websites as it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. This will not only reduce the server load, but it will also increase the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Cloud Hosting
You can employ APC for your web apps with all of the cloud hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Activating it will take just a click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it will start caching the program code of your applications. Our platform is rather flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the whole account and choose the version that each website will use, or you can have the very same version of PHP, but enable or disable APC just for specified Internet sites. You can do this by placing a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.