APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites save their content inside a database which is accessed whenever a visitor opens a webpage. The content which should be displayed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. All these actions take some processing time and require reading and writing on the web server for every single page that is opened. While this can't be avoided for websites with regularly changing content material, there are various sites that offer the same content on a number of of their webpages all the time - blogs, info portals, hotel and restaurant websites, and many others. APC is very useful for this kind of websites since it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code does not need to be parsed and compiled again. Not only will this lower the server load, but it will also increase the speed of any website many times.
APC (PHP Opcode Cache) in Cloud Hosting
You will be able to employ APC for your web apps with all of the cloud hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take just a click in the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the code of your apps. Our platform is very flexible, so you will be able to use different configurations determined by the system requirements of your scripts. For example, you'll be able to activate APC for several releases of PHP for the whole account and pick 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 require the custom configuration.