APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites keep their content within a database that is accessed whenever a visitor opens a page. The content which should be shown 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 involve reading and writing on the web server for every single page that is loaded. While this cannot be avoided for Internet sites with regularly changing content, there're numerous Internet sites that feature the exact same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant websites, and many others. APC is exceptionally useful for this kind of websites since it caches the previously compiled code and shows it whenever visitors browse the cached webpages, 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 site many times.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to employ APC for your web applications with all of the shared hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take only a click inside the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it will start caching the code of your apps. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the whole account and choose the version that each website can use, or you can have the very same version of PHP, but enable or disable APC only for specific websites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you need the customized configuration.