Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very effective for scripts with large source code and will accelerate such a website up to 3 times. PHP websites are dynamic and any time a user opens some webpage, the script links to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the website visitor. If the output code doesn't change however, that's the case with websites which show the very same content all of the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it each time 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 repeatedly, which in turn decreases the site loading time. The module can be quite useful for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Hosting

You can use APC with each hosting plan that we provide since it is already present on our advanced cloud platform and activating 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 requirements and decide if they will use APC or not. For example, you can allow APC only for one version of PHP or you could do the latter for several of the versions that run on our platform. You may also select if all websites working with a particular PHP version will use APC or if the latter will be enabled just for selected sites and not for all Internet sites in the website hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several of your websites. These customizations are done effortlessly by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server plans and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even when you have no previous experience, you could use it in order to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you will be able to use. It will take you only a click to allow APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP release will be used and whether APC should be allowed or not. This way, one Internet site may use APC and PHP 5.3, for example, while another one may use another accelerator and PHP 5.5.