APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites store their content inside a database that is accessed whenever a visitor loads a page. The content which should be viewed is gathered and the code is parsed and compiled before it's delivered to the visitor. All of these actions need some processing time and involve reading and writing on the web server for each and every page that is opened. While this cannot be avoided for websites with constantly changing content, there are a lot of websites which offer the very same content on a lot of of their webpages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this type of websites because it caches the previously compiled code and shows it every time visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. Not only will this reduce the server load, but it will also increase the speed of any site many times.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting plan that we offer because it is already installed on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. Since our system is rather flexible, you'll be able to run sites with different requirements and decide if they will work with APC or not. For instance, you can allow APC only for one version of PHP or you can do the latter for several of the releases running on our platform. It's also possible to decide if all Internet sites using a specific PHP version will use APC or whether the latter will be active only for selected sites and not for all websites in the web hosting account. The last option is useful when you intend to employ a different web accelerator for some of your Internet sites. These customizations are done without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every script application which runs on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a click inside the Hepsia Control Panel, but if necessary, you could use the module only for specific websites. This is possible because of the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you will be able to pick what version will be used for this particular Internet site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings which are different from the standard ones for your account, so you will be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you could employ another type of web accelerator.