Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script apps. It is very effective for scripts with large source code and can accelerate such a site up to three times. PHP sites are dynamic and any time a user accesses some webpage, the script links to a database in order to retrieve some content, after that the code is parsed and compiled before it's displayed to the guest. If the output code doesn't change however, that is the case with Internet sites which display the exact same content all of the time, these actions result in excessive reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse a site, so the database doesn't need to be accessed and the program code does not have to be parsed and compiled again and again, that consequently decreases the website loading time. The module could be pretty efficient for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with every single shared web hosting
plan that we offer since it is already set up on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. As our platform is really flexible, you'll be able to run Internet sites with various system requirements and decide if they will work with APC or not. For instance, you could allow APC only for one version of PHP or you could do this for several of the releases running on our platform. In addition, you can select if all websites using a given PHP version will use APC or whether the latter will be enabled only for selected Internet sites and not for all websites in the web hosting account. The aforementioned option is useful if you need to employ a different web accelerator for some of your Internet sites. These customizations are performed with ease through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with all our semi-dedicated server
solutions and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even if you don't have any previous experience, you could use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you could use. It will take you only a click to allow APC for one or a couple of 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 will be able to set what PHP release will be used and whether APC needs to be allowed or not. This way, one website may use APC and PHP 5.3, for instance, while another one could use some different accelerator and PHP 5.5.