Alternative PHP Cache, or APC, is a module for Apache web 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 3 times. PHP sites are dynamic and any time a visitor accesses some page, the script hooks up to a database to get some content, and then the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code does not change however, which is the case with sites which display the exact same content all the time, such actions trigger unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse a site, so the database does not need to be accessed and the code does not have to be parsed and compiled over and over again, that in turn decreases the website loading time. The module can be very helpful for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Web Hosting
You can use APC with each and every cloud web hosting plan that we provide as it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. As our platform is quite flexible, you'll be able to run websites with various requirements and decide whether they will work with APC or not. For instance, you could activate APC only for one release of PHP or you could do the latter for several of the releases that run on the platform. You can also choose if all Internet sites using a particular PHP version will use APC or if the latter will be enabled just for selected sites and not for all sites in the hosting account. The last option is useful if you want to employ a different web accelerator for some of your Internet sites. These customizations are carried out effortlessly by using a php.ini file in selected domain or subdomain folders.
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 made. Activating or deactivating APC for the account takes a click from the Hepsia Control Panel, but if needed, you could use the module just for particular Internet sites. This is possible as a result of the flexibility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what release will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you can take full advantage of APC for many scripts where the module makes a difference and not for others where you may use another kind of web accelerator.