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 effective for scripts with large source code and can speed up such an Internet site up to three times. PHP websites are dynamic and each time a user accesses a web page, the script links to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the visitor. If the output code does not change however, which is the case with sites which display the exact same content all of the time, such actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse an Internet site, so the database does not have to be accessed and the program code doesn't have to be parsed and compiled again and again, which consequently reduces the Internet site loading time. The module can be pretty useful for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Hosting

APC is available with each and every hosting plan that we offer and you could enable 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 will be able to take advantage of the considerably faster loading speed of your database-driven websites. As we provide different versions of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP in the same account. Our advanced cloud Internet hosting platform is very adaptable, so if you use a different web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the latter for a particular site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with all our semi-dedicated server solutions and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even if you have no previous experience, you can use it to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you will have freedom regarding the scripts and web accelerators you could employ. It will take you only a click to allow APC for one or a couple of PHP releases 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 as a whole, you could set what PHP release will be used and whether APC has to be allowed or not. This way, one Internet site may use APC and PHP 5.3, for instance, whereas another one could use some other accelerator and PHP 5.5.