Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and will boost such a website up to 3 times. PHP websites are dynamic and each time a user opens some web page, the script links to a database to retrieve some content, and then the code is parsed and compiled before it's shown to the visitor. In case the output code does not change however, which is the case with sites that show the exact same content all of the time, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse a website, so the database doesn't need to be accessed and the code doesn't have to be parsed and compiled again and again, that in turn lowers the site loading time. The module could be really effective for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every hosting
package that we offer since it is already set up on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. As our platform is really flexible, you will be able to run websites with various requirements and decide whether they will work with APC or not. For example, you can allow APC only for a single version of PHP or you can do the latter for several of the versions running on the platform. It's also possible to decide if all sites using a given PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all websites in the hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for several of your websites. These customizations are performed without any difficulty by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with our semi-dedicated server
solutions and activating the framework is done with a click in the Hepsia Control Panel, so even when you have no previous experience, you will be able to use it in order to accelerate your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could employ. It will take you just a click to allow APC for one or a couple of PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account in general, you could set what PHP version will be used and whether APC has to be enabled or not. This way, one website could use APC and PHP 5.3, for instance, and another one could use a different accelerator and PHP 5.5.