APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ represents, what APC is able to do PHP performance-wise and ways to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites keep their content in a database that is accessed whenever a visitor loads a webpage. The content which has to be displayed is gathered and the code is parsed and compiled before it is delivered to the site visitor. All of these actions take some processing time and include reading and writing on the server for each page which is opened. While this can't be avoided for sites with constantly changing content material, there are numerous Internet sites which offer the exact same content on a lot of of their webpages constantly - blogs, informational portals, hotel and restaurant sites, etc. APC is really useful for this kind of sites because 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 again. Not only will this lower the server load, but it will also boost the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single
cloud website hosting plan that we offer as it is already installed on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. Since our platform is really flexible, you will be able to run Internet sites with various requirements and decide if they will use APC or not. For instance, you can activate APC only for one version of PHP or you can do the latter for several of the versions running on our platform. You may also decide if all Internet sites using a certain PHP version will use APC or if the latter will be enabled just for selected websites and not for all Internet sites in the hosting account. The aforementioned option is useful if you would like to employ a different web accelerator for some of your sites. These customizations are carried out without difficulty by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is set up on the amazing cloud hosting platform where all
semi-dedicated hosting accounts are created, so you could use it whatever the plan you choose. Activating the module is performed through the Hepsia Control Panel and takes just a click, so you will not need any skills or prior experience in order to take full advantage of it. Since you'll be able to use different releases of PHP at once, you could customize the software environment for every single Internet site which you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this specific Internet site will use and whether APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run various scripts and employ various web accelerators for sites that are in the same account.