Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very effective for scripts with large source code and could boost such an Internet site as much as three times. PHP websites are dynamic and each time a visitor opens a web page, the script links to a database in order to get some content, and then the code is parsed and compiled before it is displayed to the visitor. If the output code does not change however, that's the case with sites that show the very same content at all times, such actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse an Internet site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled continuously, which consequently decreases the site loading time. The module could be rather helpful for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Web Hosting

You'll be able to use APC for your web applications with any of the cloud web hosting plans that we offer as it's pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will begin caching the program code of your software applications. Our platform is rather 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 several versions of PHP for the whole account and set the version that each site will use, or you can have the same version of PHP, but activate or deactivate APC just for particular websites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with our semi-dedicated server plans and activating this framework is performed with a click in the Hepsia Control Panel, so even if you have no previous experience, you will be able to use it to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you can use. It will take you only a click to allow APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you can set what PHP release will be used and whether APC needs to be allowed or not. This way, one site could use APC and PHP 5.3, for instance, and another one can use some different accelerator and PHP 5.5.