Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and will speed up such a site up to 3 times. PHP websites are dynamic and every time a user opens a page, the script connects to a database to retrieve some content, and then the code is parsed and compiled before it's displayed to the guest. In case the output code doesn't change however, that is the case with Internet sites which show the exact same content all of the time, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse an Internet site, so the database doesn't have to be accessed and the program code doesn't have to be parsed and compiled again and again, which in turn reduces the Internet site loading time. The module could be extremely effective for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You can use APC with every single hosting package that we offer because it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks inside your Hepsia Control Panel. Since our system is really flexible, you'll be able to run sites with various system requirements and decide if they will use APC or not. For example, you can activate APC only for a single release of PHP or you could do the latter for several of the versions running on the platform. It's also possible to choose if all websites using a particular PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all websites in the hosting account. The last option is useful if you need to employ a different web accelerator for some of your websites. These customizations are done effortlessly via 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 our semi-dedicated server solutions and activating the framework is performed with a click inside the Hepsia Control Panel, so even if you have no prior experience, you could use it in order to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have freedom regarding the scripts and web accelerators you could use. It will take you just a click to enable 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 as a whole, you could set what PHP version will be used and whether APC needs to be enabled or not. This way, one Internet site may use APC and PHP 5.3, for example, while another one could use another accelerator and PHP 5.5.