Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script applications. It is very efficient for scripts with large source code and can accelerate such an Internet site up to 3 times. PHP websites are dynamic and every time a visitor opens some webpage, the script connects to a database in order to retrieve some content, after that the code is parsed and compiled prior to it being shown to the guest. If the output code does not change however, that is the case with Internet sites which display the exact same content all of the time, such actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a site, so the database does not need to be accessed and the code does not need to be parsed and compiled repeatedly, which in turn minimizes the website loading time. The module can be really useful for informational sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is available with each and every cloud web hosting plan that we offer and you could enable it with just a click from your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be active and you'll be able to take advantage of the quicker loading speed of your database-driven Internet sites. As we offer several releases of PHP which could also be selected from Hepsia, you'll even be able to to use APC for scripts that require different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so if you use some other web accelerator for any website and it disrupts APC, you will be able to activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be created. 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 only for certain websites. This is possible because of the versatility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can select what release will be used for this specific site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you'll be able to take full advantage of APC for some scripts where the module can make a difference and not for others where you could use some other type of web accelerator.