APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP sites hold their content in a database which is accessed whenever a visitor opens a page. The content which should be displayed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. These actions take some processing time and involve reading and writing on the server for every single page which is opened. While this cannot be avoided for sites with constantly changing content, there're various sites that have the exact same content on a lot of of their pages all of the time - blogs, info portals, hotel and restaurant websites, etc. APC is really useful for such sites because it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this reduce the server load, but it'll also boost the speed of any website a few times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting
solution that we offer and you can activate it with just a click through your Hepsia Control Panel if you'd like to use it for your web apps. A couple of minutes later the framework will be active and you will notice the considerably quicker loading speed of your database-driven websites. As we offer several releases of PHP that can also be selected from Hepsia, you will even be able to use APC for scripts which need different versions of PHP within the very same account. Our state-of-the-art cloud web hosting platform is extremely flexible, so in case you use a different web accelerator for any website and it interferes with APC, you could activate or deactivate the latter for a particular site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with all of our semi-dedicated server
packages and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you don't have any previous experience, you'll be able to use it to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you will be able to use. It will take you just a click to enable APC for one or a couple of PHP releases 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 could set what PHP release will be used and whether APC has to be allowed or not. This way, one Internet site may use APC and PHP 5.3, for example, and another one may use a different accelerator and PHP 5.5.