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 in a database which is accessed whenever a visitor opens a page. The content which needs to be viewed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions take some processing time and require reading and writing on the web server for every single page that is loaded. While this can't be avoided for websites with regularly changing content, there're numerous websites that present the very same content on many of their pages at all times - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is really useful for this kind of websites as it caches the already compiled code and displays it each time visitors browse the cached pages, so the code doesn't need to be parsed and compiled repeatedly. This will not only lower the server load, but it'll also boost the speed of any site several times.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each and every website hosting plan that we provide as it's already present on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. Since our platform is quite flexible, you can run sites with different requirements and decide whether they will use APC or not. For example, you can activate APC only for one version of PHP or you can do the latter for several of the releases that run on the platform. You may also decide if all Internet sites using a specific PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all Internet sites in the hosting account. The aforementioned option is useful when you intend to employ a different web accelerator for some of your sites. These customizations are performed without difficulty through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our semi-dedicated server solutions and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even when you lack previous experience, you will be able to use it to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you'll be able to use. It will take you just a click to activate APC for one or several PHP versions and by using a php.ini file in 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 needs to be allowed or not. In this way, one Internet site can use APC and PHP 5.3, for instance, while another one could use some different accelerator and PHP 5.5.