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 useful for scripts with large source code and could speed up such a site as much as three times. PHP sites are dynamic and any time a user opens a page, the script hooks up to a database in order to retrieve some content, after that the code is parsed and compiled before it's displayed to the guest. In case the output code does not change however, which is the case with websites that display the same content all the time, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse a website, so the database does not need to be accessed and the code does not have to be parsed and compiled again and again, which consequently lowers the website loading time. The module can be pretty useful for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with each and every cloud hosting package that we provide because it is already present 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 will be able to run websites with various system requirements and decide if they will use APC or not. For instance, you can allow APC only for a single version of PHP or you can do this for several of the versions running on the platform. You may also decide if all websites using a given 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 last option is useful when you'd like to employ a different web accelerator for several of your websites. These customizations are done with ease via a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for every single script application which is run on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes a click inside the Hepsia Control Panel, but if needed, you could use the module only for certain websites. This is possible as a result of the versatility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can pick what version will be used for this specific Internet site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you could take advantage of APC for some scripts where the module can make a difference and not for others where you may employ a different kind of web accelerator.