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 effective for scripts with large source code and could accelerate such a site up to 3 times. PHP websites are dynamic and every time a website visitor accesses some web page, the script connects to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. In case the output code does not change however, which is the case with websites which show the exact same content all the time, such actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse a website, 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 consequently lowers the Internet site loading time. The module can be really efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC for your web apps with all of the cloud website hosting plans that we offer because it is pre-installed on our cloud web hosting platform. Activating it will take just a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll start caching the program code of your applications. Our platform is very flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the entire account and choose the version that each Internet site will use, or you could have the very same version of PHP, but activate or deactivate APC only for particular sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with all our semi-dedicated server solutions and activating the framework is done with a click from the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it in order to boost your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to allow 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 can set what PHP release will be used and whether APC needs to be enabled or not. This way, one website may use APC and PHP 5.3, for instance, and another one may use another accelerator and PHP 5.5.