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 in a database that is accessed whenever a visitor opens a page. The content which has to be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions take some processing time and involve reading and writing on the server for every single page that is opened. While this can't be avoided for Internet sites with regularly changing content, there are numerous Internet sites that present the exact same content on many of their pages constantly - blogs, info portals, hotel and restaurant sites, and many others. APC is extremely useful for this type of sites because it caches the previously compiled code and shows it every time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled all over again. Not only will this minimize the server load, but it will also boost the speed of any website several times.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is provided with every single shared web hosting
plan that we offer and you can activate it with only a click from your Hepsia Control Panel if you want to use it for your web applications. A couple of minutes later the framework will be working and you'll experience the considerably faster loading speed of your database-driven websites. Since we provide different releases of PHP that can also be selected from Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the same account. Our cutting-edge cloud web hosting platform is extremely adaptable, so in case you use an alternative web accelerator for any Internet site and it disturbs APC, you could activate or deactivate the latter for a certain site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with all our semi-dedicated server
plans and activating the framework is performed with a click in the Hepsia Control Panel, so even when you lack prior experience, you could use it in order to speed up your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you will be able to employ. It will take you just a click to activate APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account in general, you could set what PHP release will be used and whether APC should be allowed or not. In this way, one site could use APC and PHP 5.3, for instance, while another one may use some different accelerator and PHP 5.5.