APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites hold their content inside a database which is accessed whenever a visitor loads a page. The content which has to be displayed is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions need some processing time and involve reading and writing on the web server for every single page which is loaded. While this cannot be avoided for sites with constantly changing content material, there're a lot of sites which offer the very same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant websites, etcetera. APC is quite useful for such sites as it caches the previously compiled code and displays it each time visitors browse the cached webpages, so the code does not need to be parsed and compiled again. Not only will this reduce the server load, but it'll also raise the speed of any website many times.
APC (PHP Opcode Cache) in Cloud Web Hosting
You can use APC with each cloud web hosting
package that we offer since it is already present on our advanced cloud platform and enabling it will take you just a couple of clicks inside your Hepsia Control Panel. As our platform is rather flexible, you'll be able to run websites with various system requirements and decide whether they will use APC or not. For instance, you could enable APC only for a single release of PHP or you can do this for several of the releases that run on the platform. In addition, you can decide if all sites using a specific PHP version will use APC or if the latter will be active just for selected websites and not for all websites in the hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several of your Internet sites. These customizations are done with ease by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application which is run on your new semi-dedicated hosting
as the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click from the Hepsia Control Panel, but if needed, you could use the module just for specific sites. This is possible due to the versatility of our cloud platform - different versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you will be able to select what version will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you will be able to take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you may use another kind of web accelerator.