APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can boost a database-driven website several times. When a PHP page is opened, the script pulls the site content that needs to be shown from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and resources for an Internet site which does not change, for example an informational portal that shows the exact same content all the time. Once the web pages for such a site are compiled, APC caches them and delivers them every time a website visitor opens them. As this saves the time to obtain content from the database and to parse and compile the program code, the website will load considerably quicker. APC is very efficient in particular for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You can use APC with every single hosting plan that we offer since it is already present on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. As our platform is quite flexible, you can run Internet sites with various system requirements and decide whether they will work with APC or not. For example, you can allow APC only for one release of PHP or you could do the latter for several of the versions running on our platform. You may also decide if all sites using a given PHP version will use APC or whether the latter will be active just for selected sites and not for all Internet sites in the hosting account. The last option is useful when you wish to employ a different web accelerator for several of your Internet sites. These customizations are performed without difficulty via a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take advantage of APC with our semi-dedicated hosting plans and activating this framework is performed with a click from the Hepsia Control Panel, so even when you lack prior experience, you can use it in order to accelerate your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you'll be able to use. It will take you just a click to allow 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 as a whole, you can set what PHP release 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, and another one could use a different accelerator and PHP 5.5.