Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very effective for scripts with large source code and could boost such a site as much as 3 times. PHP websites are dynamic and whenever a visitor opens a page, the script connects to a database to get some content, after that the code is parsed and compiled before it is displayed to the site visitor. In case the output code doesn't change however, which is the case with sites which display the very same content all of the time, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse an Internet site, so the database does not need to be accessed and the code doesn't need to be parsed and compiled continuously, which consequently decreases the Internet site loading time. The module could be rather helpful for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with each cloud hosting plan that we offer and you can activate it with just a click through your Hepsia Control Panel if you'd like to use it for your web applications. A couple of minutes later the framework will be active and you will experience the quicker loading speed of your database-driven websites. Since we offer several releases of PHP which can also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP inside the very same account. Our cutting-edge cloud Internet hosting platform is extremely adaptable, so if you use some other web accelerator for any website and it interferes with 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’ll be able to use APC for each and every script application which is run on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if needed, you could use the module only for particular Internet sites. This is possible due to the flexibility 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'll be able to choose what version will be used for this particular website and whether APC needs to 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 could take advantage of APC for some scripts where the module will make a difference and not for others where you could employ some other kind of web accelerator.