APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can influence the PHP performance inside your web hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites store their content inside a database that is accessed whenever a visitor opens a page. The content which has to be displayed is gathered and the code is parsed and compiled before it is delivered to the visitor. All these actions need some processing time and involve reading and writing on the hosting server for every single page which is loaded. While this can't be avoided for Internet sites with constantly changing content, there're many Internet sites that present the exact same content on many of their webpages all the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is exceptionally useful for such sites as it caches the already compiled code and displays it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. This will not only lower the server load, but it will also increase the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
APC is available with each
cloud website hosting solution that we offer and you could enable it with just a click through your Hepsia Control Panel if you want to use it for your web applications. Several minutes later the framework will be active and you will be able to take advantage of the faster loading speed of your database-driven sites. As we provide different releases of PHP which could also be selected from Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP inside the very same account. Our cutting-edge cloud Internet hosting platform is very adaptable, so if you use a different web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the latter for a certain site only by using a php.ini file created in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with all our
semi-dedicated hosting plans and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even when you lack previous experience, you'll be able to use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could use. It will take you only a click to allow APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC needs to be enabled or not. This way, one site could use APC and PHP 5.3, for example, whereas another one could use some different accelerator and PHP 5.5.