Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and could speed up such a site up to three times. PHP sites are dynamic and every time a user opens a webpage, the script links to a database to retrieve some content, and then the code is parsed and compiled prior to it being shown to the visitor. In case the output code does not change however, that's the case with Internet sites which show identical content all the time, these actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database does not have to be accessed and the code does not have to be parsed and compiled repeatedly, that consequently decreases the site loading time. The module can be very effective for informational Internet sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Hosting

APC is available with each and every cloud hosting plan that we offer and you can enable it with just a click through your Hepsia Control Panel if you'd like to use it for your web apps. A few minutes later the framework will be working and you will notice the quicker loading speed of your database-driven sites. Since we offer different releases of PHP which could also be selected through Hepsia, you'll even be able to to use APC for scripts that need different versions of PHP within the same account. Our cutting-edge cloud hosting platform is extremely adaptable, so in case you use a different web accelerator for any website and it interferes with APC, you'll be able to 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 will be able to use APC for each script application that is run 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 entire account takes one click in the Hepsia Control Panel, but if needed, you could use the module just for certain Internet sites. This is possible as a result of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to pick what release will be used for this specific site and whether APC has to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for your account, so you could take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you may employ another type of web accelerator.