Alternative PHP Cache, or APC, is a module for Apache servers which is used 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 sites are dynamic and any time a user accesses a webpage, the script hooks up to a database to get some content, after that the code is parsed and compiled prior to it being shown to the website visitor. In case the output code doesn't change however, which is the case with websites that show the exact same content all the time, these actions result in needless 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 have to be accessed and the program code doesn't have to be parsed and compiled again and again, which consequently decreases the Internet site loading time. The module can be rather helpful for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC with each and every cloud website hosting plan that we offer as it's already set up on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. As our platform is rather flexible, you can run Internet sites with various requirements and decide whether they will use APC or not. For instance, you could allow APC only for a single version of PHP or you can do this for several of the versions that run on the platform. You can also select if all sites using a given PHP version will use APC or whether the latter will be enabled just for selected sites and not for all websites in the web hosting account. The aforementioned option is useful when you want to employ a different web accelerator for some of your Internet sites. 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’ll be able to use APC for every script application that is run on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a single click in the Hepsia Control Panel, but if needed, you can use the module just for specific Internet sites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you will be able to pick what release will be used for this particular site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for your account, so you could take advantage of APC for some scripts where the module makes a difference and not for others where you could use another type of web accelerator.