Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very effective for scripts with large source code and can accelerate such a website up to three times. PHP sites are dynamic and whenever a user accesses some web page, the script connects to a database to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the site visitor. In case the output code does not change however, that is the case with websites that display identical content at all times, these actions trigger needless reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse an Internet site, so the database doesn't need to be accessed and the code doesn't need to be parsed and compiled again and again, which in turn lowers the site loading time. The module can be very useful for informational sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Hosting

APC is provided with each and every shared hosting solution that we offer and you can activate it with just a click through your Hepsia Control Panel if you would like to use it for your web apps. A couple of minutes later the framework will be working and you'll be able to take advantage of the considerably quicker loading speed of your database-driven websites. As we provide several versions of PHP which could also be selected from Hepsia, you'll even be able to to use APC for scripts which need different versions of PHP in the very same account. Our advanced cloud Internet hosting platform is very flexible, so if you use another web accelerator for any website and it interferes with APC, you'll be able to activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every single script application which is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account takes one click in the Hepsia Control Panel, but if needed, you could use the module only for certain Internet sites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to pick what release will be used for this particular website and whether APC should be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for your account, so you could take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you could use some other kind of web accelerator.