Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very useful for scripts with large source code and can accelerate such a website as much as 3 times. PHP sites are dynamic and every time a user opens a page, the script connects to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the visitor. In case the output code does not change however, that's the case with websites that show the exact same content all the time, these actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a site, so the database does not have to be accessed and the program code doesn't need to be parsed and compiled again and again, that in turn reduces the site loading time. The module can be rather helpful for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with every single cloud hosting solution that we offer and you could enable it with only a click from your Hepsia Control Panel if you would like to use it for your web apps. A few minutes later the framework will be active and you'll experience the considerably faster loading speed of your database-driven Internet sites. Since we provide different releases of PHP which could also be selected from Hepsia, you will even be able to use APC for scripts that need different versions of PHP inside the same account. Our cutting-edge cloud hosting platform is extremely adaptable, so in case you use another web accelerator for any website and it disturbs APC, you will be able to 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 Servers

You will be able to use APC for every script application that is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a click inside the Hepsia Control Panel, but if needed, you could use the module only for particular Internet sites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the account, so you can take advantage of APC for some scripts where the module can make a difference and not for others where you can employ another type of web accelerator.