Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and will speed up such a site as much as 3 times. PHP websites are dynamic and each time a visitor opens a webpage, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it's shown to the website visitor. In case the output code doesn't change however, which is the case with Internet sites which show the exact same content all the time, these actions result in 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 have to be accessed and the program code does not need to be parsed and compiled again and again, which consequently decreases the site loading time. The module could be extremely helpful for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with each cloud hosting plan that we offer and you can enable it with just a click from your Hepsia Control Panel if you want to use it for your web applications. A couple of minutes later the framework will be working and you'll be able to take advantage of the considerably quicker loading speed of your database-driven sites. As we provide several releases of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP within the same account. Our high tech cloud Internet hosting platform is extremely adaptable, so if you use an alternative web accelerator for any website and it disturbs APC, you could activate or deactivate the latter for a particular site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application that runs on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click in the Hepsia Control Panel, but if necessary, you can use the module only for certain Internet sites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific website and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for your account, so you will be able to take advantage of APC for some scripts where the module can make a difference and not for others where you may take advantage of some other type of web accelerator.