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 effective for scripts with large source code and could accelerate such a site as much as 3 times. PHP sites are dynamic and any time a visitor accesses a page, the script links to a database in order to get some content, and then the code is parsed and compiled before it is shown to the site visitor. If the output code doesn't change however, which is the case with Internet sites which display the exact same content all of the time, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a site, so the database does not have to be accessed and the code doesn't need to be parsed and compiled repeatedly, that consequently reduces the Internet site loading time. The module could be pretty useful for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

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

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with our semi-dedicated server packages and activating this framework is done with a click from the Hepsia Control Panel, so even when you don't have any prior experience, you can use it in order to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you'll be able to employ. It will take you just a click to activate APC for one or several 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 as a whole, you could set what PHP version will be used and whether APC should be enabled or not. This way, one site may use APC and PHP 5.3, for example, whereas another one could use some different accelerator and PHP 5.5.