Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very efficient for scripts with large source code and will speed up such an Internet site as much as 3 times. PHP websites are dynamic and every time a website visitor opens some web page, the script links to a database in order to retrieve some content, after that the code is parsed and compiled before it's shown to the website visitor. If the output code doesn't change however, that's the case with Internet sites that show identical content at all times, such actions result in needless reading and writing. What APC does is that it caches the previously 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 does not have to be parsed and compiled again and again, that in turn reduces the website loading time. The module could be rather helpful for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web apps with any of the cloud hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click in the Hepsia Control Panel which comes with our shared solutions and several minutes later it will begin caching the code of your apps. Our platform is quite flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For instance, you could activate APC for several releases of PHP for the entire account and pick the version that each website can use, or you can have the same version of PHP, but enable or disable APC only for particular websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take advantage of APC with all of our semi-dedicated hosting plans and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you don't have any prior experience, you could use it to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you will be able to 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 inside the domain/subdomain folders where you need settings which are different from the ones for the account in general, you will be able to set what PHP version will be used and whether APC needs to be allowed or not. In this way, one website could use APC and PHP 5.3, for example, while another one may use some different accelerator and PHP 5.5.