Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very efficient for scripts with large source code and could boost such a website up to three times. PHP websites are dynamic and each time a website visitor opens a webpage, the script hooks up to a database in order to get some content, then the code is parsed and compiled before it is shown to the site visitor. In case the output code does not change however, that's the case with sites which show identical content at all times, such actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a website, so the database does not have to be accessed and the program code does not have to be parsed and compiled continuously, that consequently reduces the site loading time. The module could be rather helpful for informational sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

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

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for every single script application that is run on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if needed, you could use the module only for specific Internet sites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can choose 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 will make a difference and not for others where you could employ some other kind of web accelerator.