APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites save their content inside a database that is accessed whenever a visitor loads a page. The content that should be viewed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and include reading and writing on the server for every single page which is loaded. While this cannot be avoided for Internet sites with constantly changing content material, there're various Internet sites that present the same content on many of their webpages at all times - blogs, info portals, hotel and restaurant sites, etc. APC is very useful for this type of websites because it caches the previously compiled code and shows it whenever visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this minimize the server load, but it will also increase the speed of any website a few times.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web applications with any of the shared hosting plans that we provide because it is pre-installed on our cloud web hosting platform. Activating it will take only a click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll start caching the program code of your software applications. Our platform is really flexible, so you'll be able to use several configurations in accordance with the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and choose the version that each website can use, or you could have the exact same version of PHP, but activate or deactivate APC only for specified Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.