APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it will impact the PHP performance inside your web hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites keep their content inside a database that is accessed whenever a visitor opens a page. The content that should be displayed is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and include reading and writing on the server for every single page that is accessed. While this can't be avoided for Internet sites with regularly changing content, there're a lot of websites that present the very same content on a lot of of their webpages constantly - blogs, informational portals, hotel and restaurant Internet sites, and many others. APC is quite useful for this kind of Internet sites since it caches the already compiled code and displays it every time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only reduce 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 from your Hepsia Control Panel if you'd like to use it for your applications. Several minutes later the framework will be working and you'll experience the considerably quicker loading speed of your database-driven websites. Since we provide several releases of PHP which could also be selected from Hepsia, you'll even be able to to use APC for scripts that need different versions of PHP in the very same account. Our cutting-edge cloud hosting platform is extremely flexible, so if you use a different web accelerator for any website and it disrupts APC, you'll be able to activate or deactivate the aforementioned 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 Servers
You can take advantage of APC with our
semi-dedicated server plans and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you lack previous experience, you could use it to boost your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to activate APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC should be allowed or not. In this way, one website could use APC and PHP 5.3, for example, while another one can use some different accelerator and PHP 5.5.