APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites hold their content within a database which is accessed whenever a visitor loads a page. The content which should be shown is retrieved and the code is parsed and compiled before it's delivered to the site visitor. All these actions take some processing time and include reading and writing on the server for every single page which is accessed. While this can't be avoided for sites with constantly changing content material, there're various Internet sites which feature the exact same content on a number of of their pages all the time - blogs, info portals, hotel and restaurant sites, and many others. APC is extremely useful for this kind of websites since it caches the previously compiled code and shows it each time visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. This will not only lower the server load, but it will also raise the speed of any Internet site many times.

APC (PHP Opcode Cache) in Web Hosting

You can employ APC for your web applications with any of the web hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it will begin caching the program code of your software applications. Our platform is quite flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and pick the version that each website will use, or you could have the same version of PHP, but enable or disable APC only for specified sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you need the custom setup.