APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites keep their content in a database which is accessed whenever a visitor loads a page. The content that has to be shown is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions take some processing time and include reading and writing on the server for every single page which is loaded. While this cannot be avoided for Internet sites with regularly changing content material, there're a lot of sites which offer the very same content on a lot of of their pages all of the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is exceptionally useful for this type of sites because it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. This will not only minimize the server load, but it'll also increase the speed of any site many times.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web apps with all of the cloud hosting plans that we provide since it is pre-installed on our cloud website hosting platform. Turning it on will take just a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will begin caching the program code of your apps. Our platform is extremely flexible, so you will be able to use different configurations depending on the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the entire account and specify the version that each website will use, or you could have the very same version of PHP, but enable or disable APC only for particular Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with all our semi-dedicated server packages and activating the framework is done with a click inside the Hepsia Control Panel, so even if you lack previous experience, you'll be able to use it to boost your sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to activate APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which 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 allowed or not. In this way, one Internet site could use APC and PHP 5.3, for example, whereas another one could use another accelerator and PHP 5.5.