APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites save their content inside a database that is accessed whenever a visitor opens a page. The content which has to be viewed is retrieved and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and include reading and writing on the server for each and every page which is loaded. While this cannot be avoided for Internet sites with constantly changing content, there are many sites which feature the exact same content on many of their webpages all of the time - blogs, info portals, hotel and restaurant websites, etc. APC is quite useful for this type of Internet sites since it caches the already compiled code and displays it each time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. This will not only minimize the server load, but it will also raise the speed of any Internet site many times.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web applications with all of the cloud hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Turning it on will take only a click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll start caching the code of your applications. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the whole account and select the version that each site can use, or you could have the same version of PHP, but enable or disable APC only for specified sites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with all of our semi-dedicated server packages and activating this framework is performed with a click from the Hepsia Control Panel, so even when you don't have any prior experience, you will be able to use it in order to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you will have freedom regarding the scripts and web accelerators you could employ. It will take you only a click to activate 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 different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one website can use APC and PHP 5.3, for instance, whereas another one could use a different accelerator and PHP 5.5.