Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and could speed up such a site up to three times. PHP sites are dynamic and every time a user accesses some page, the script links to a database to get some content, and then the code is parsed and compiled before it's shown to the site visitor. If the output code doesn't change however, which is the case with websites which show the same content at all times, such actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse an Internet site, so the database does not need to be accessed and the code doesn't have to be parsed and compiled over and over again, that in turn reduces the website loading time. The module could be quite efficient for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Web Hosting

You will be able to use APC for your web apps with any of the cloud web hosting plans that we offer because it's pre-installed on our cloud website hosting platform. Activating it will take just a click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it will begin caching the program code of your apps. Our platform is quite flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and choose the version that each website will use, or you could have the very same version of PHP, but enable or disable APC just for particular sites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server plans and activating the framework is done with a click inside the Hepsia Control Panel, so even if you have no previous experience, you'll be able to use it in order to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you could use. It will take you just a click to enable 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 that are not the same as the ones for the account in general, you'll be able to set what PHP version will be used and whether APC should be enabled or not. In this way, one website can use APC and PHP 5.3, for instance, whereas another one may use another accelerator and PHP 5.5.