Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very effective for scripts with large source code and could accelerate such a site up to three times. PHP sites are dynamic and whenever a visitor accesses some webpage, the script links to a database to retrieve some content, after that the code is parsed and compiled before it's shown to the site visitor. In case the output code does not change however, that is the case with websites that show identical content at all times, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the code doesn't have to be parsed and compiled again and again, which in turn decreases the site loading time. The module could be quite useful for informational sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to use APC for your web applications with all of the cloud hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which comes with our shared plans and a few minutes later it'll start caching the program code of your software apps. Our platform is quite flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the entire account and set the version that each site will use, or you can have the very same version of PHP, but enable or disable APC just for specified sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for each and every script application that runs on your new semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you could use the module just for specific Internet sites. This is possible because of the versatility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to pick what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for the account, so you could take advantage of APC for a lot of scripts where the module will make a difference and not for others where you may use a different kind of web accelerator.