Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very efficient for scripts with large source code and could accelerate such a website up to 3 times. PHP sites are dynamic and any time a website visitor opens some page, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it's displayed to the site visitor. If the output code doesn't change however, which is the case with websites which display identical content all of the time, these actions result in needless reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a website, so the database doesn't have to be accessed and the code does not have to be parsed and compiled again and again, that consequently lowers the Internet site loading time. The module can be very helpful for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web applications with all of the cloud hosting packages that we offer because it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll begin caching the code of your software apps. Our platform is quite flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you will be able to activate APC for several releases of PHP for the whole account and choose the version that each Internet site can use, or you could have the exact same version of PHP, but activate or deactivate APC just for particular sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with our semi-dedicated server plans and activating the framework is performed with a click in the Hepsia Control Panel, so even if you don't have any prior experience, you could use it to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to activate APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account in general, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one website can use APC and PHP 5.3, for instance, while another one can use some different accelerator and PHP 5.5.