Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and can speed up such an Internet site up to 3 times. PHP websites are dynamic and each time a visitor opens some webpage, the script links to a database to retrieve some content, then the code is parsed and compiled prior to it being displayed to the site visitor. If the output code does not change however, which is the case with Internet sites that display identical content at all times, such actions trigger unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a site, so the database doesn't need to be accessed and the program code doesn't need to be parsed and compiled repeatedly, which consequently reduces the Internet site loading time. The module could be very useful for informational sites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every shared hosting plan that we offer because it's already installed on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. Since our platform is quite flexible, you'll be able to run websites with different requirements and decide whether they will use APC or not. For instance, you can enable APC only for one release of PHP or you can do the latter for several of the versions running on our platform. In addition, you can decide if all websites using a particular PHP version will use APC or whether the latter will be enabled only for selected sites and not for all Internet sites in the hosting account. The last option is useful when you wish 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 advantage of APC with all our semi-dedicated hosting packages and activating the framework is performed with a click in the Hepsia Control Panel, so even if you lack prior experience, you can 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 activate APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you could set what PHP release will be used and whether APC needs to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for example, whereas another one can use a different accelerator and PHP 5.5.