APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites keep their content within a database that is accessed whenever a visitor loads a page. The content which has to be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All these actions take some processing time and include reading and writing on the server for each and every page that is opened. While this can't be avoided for Internet sites with constantly changing content, there're a lot of Internet sites that present the exact same content on a number of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for this type of Internet sites since it caches the previously compiled code and displays it when visitors browse the cached pages, so the code doesn't need to be parsed and compiled repeatedly. Not only will this lower the server load, but it will also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web apps with all of the cloud hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it will start caching the program code of your apps. Our platform is very flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you could activate APC for a couple of releases of PHP for the whole account and set the version that each Internet site can use, or you could have the 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 all our semi-dedicated server solutions and activating this framework is performed with a click inside the Hepsia Control Panel, so even when you don't have any previous experience, you can use it to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have freedom with regards to the scripts and web accelerators you will be able to use. It will take you only a click to enable 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 which are not the same as the ones for the account in general, you could set what PHP release will be used and whether APC has to be allowed or not. In this way, one website can use APC and PHP 5.3, for instance, whereas another one can use some different accelerator and PHP 5.5.