APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ stands for, exactly what APC is able to do PHP effectiveness-wise and ways to enable it for your account.
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 opens a page. The content which needs to be displayed is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions take some processing time and involve reading and writing on the web server for each page that is opened. While this can't be avoided for Internet sites with constantly changing content material, there are various websites which offer the exact same content on a number of of their pages at all times - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for such websites since it caches the already compiled code and shows it every time visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. Not only will this lower the server load, but it will also raise the speed of any site several times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with each and every cloud website hosting
package that we provide because it is already set up on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is rather flexible, you'll be able to run sites with various requirements and decide whether they will work with APC or not. For instance, you can enable APC only for one release of PHP or you can do the latter for several of the versions running on the platform. You can also select if all Internet sites using a given PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all websites in the hosting account. The last option is useful if you wish to employ a different web accelerator for some of your Internet 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
You can use APC for each and every script application which is run on your new semi-dedicated hosting
since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you will be able to take full advantage of APC for many scripts where the module makes a difference and not for others where you can use some other kind of web accelerator.