Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and can accelerate such a website up to three times. PHP sites are dynamic and each time a visitor accesses a page, the script connects to a database in order to get some content, after that the code is parsed and compiled prior to it being displayed to the visitor. In case the output code does not change however, that's the case with Internet sites that display the same content all of the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse a site, so the database doesn't have to be accessed and the code does not have to be parsed and compiled continuously, which in turn reduces the site loading time. The module can be very useful for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC with every single shared hosting package that we offer because it is already present on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our platform is rather flexible, you can run sites with different system requirements and decide if they will work with APC or not. For instance, you can allow APC only for one release of PHP or you could do the latter for several of the versions running on the platform. You may also select if all sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all websites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for some of your websites. These customizations are carried out effortlessly by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with all our semi-dedicated hosting plans and activating this framework is done with a click from the Hepsia Control Panel, so even if you lack prior experience, you can use it to accelerate your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you'll have flexibility with regards to the scripts and web accelerators you can employ. It will take you just a click to activate APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC needs to be enabled or not. In this way, one Internet site may use APC and PHP 5.3, for example, while another one can use some other accelerator and PHP 5.5.