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 efficient for scripts with large source code and will boost such a site as much as 3 times. PHP websites are dynamic and every time a visitor accesses some webpage, the script hooks up to a database to get some content, and then the code is parsed and compiled before it is displayed to the website visitor. If the output code does not change however, which is the case with Internet sites that display the same content all of the time, such actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it whenever visitors browse a site, so the database doesn't need to be accessed and the program code does not need to be parsed and compiled again and again, that in turn minimizes the website loading time. The module could be really efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Hosting

APC is available with each hosting plan that we offer and you could enable it with only a click from your Hepsia Control Panel if you'd like to use it for your applications. Several minutes later the framework will be active and you will be able to take advantage of the faster loading speed of your database-driven websites. As we provide several releases of PHP that could also be selected from Hepsia, you'll even be able to to employ APC for scripts that need different versions of PHP in the very same account. Our cutting-edge cloud hosting platform is very flexible, so in case you use an alternative web accelerator for any website and it disturbs APC, you could activate or deactivate the latter for a specific site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application that runs on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes a single click from the Hepsia Control Panel, but if necessary, you can use the module only for certain sites. This is possible due to 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 website folder, you'll be able to select what release will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you will be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you may take advantage of some other type of web accelerator.