Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very effective for scripts with large source code and will speed up such a website up to three times. PHP sites are dynamic and whenever a user accesses some web page, the script hooks up to a database to get some content, and then the code is parsed and compiled before it is shown to the visitor. If the output code does not change however, that is the case with websites that show identical content all the time, these 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 an Internet site, so the database does not have to be accessed and the program code does not need to be parsed and compiled continuously, which in turn decreases the site loading time. The module can be quite helpful for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each and every shared website hosting package that we offer as it's already installed on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is quite flexible, you'll be able to run sites with various requirements and decide whether they will use APC or not. For example, you can allow APC only for a single version of PHP or you could do this for several of the releases that run on the platform. In addition, you can decide if all Internet sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected sites and not for all websites in the hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for some of your Internet sites. These customizations are performed without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with all of our semi-dedicated hosting plans and activating this framework is performed with a mouse click inside the Hepsia Control Panel, so even when you lack prior experience, you'll be able to use it in order to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you can employ. It will take you only a click to enable 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 which are not the same as the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC has to be enabled or not. In this way, one website can use APC and PHP 5.3, for instance, whereas another one could use a different accelerator and PHP 5.5.