Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and will speed up such a website as much as three times. PHP websites are dynamic and any time a website visitor accesses some web page, the script connects to a database in order to retrieve some content, then the code is parsed and compiled before it's shown to the website visitor. If the output code doesn't change however, that's the case with Internet sites that display identical content at all times, these actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a website, so the database does not have to be accessed and the code does not have to be parsed and compiled repeatedly, that consequently minimizes the Internet site loading time. The module can be rather useful for informational websites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with every single cloud hosting plan that we offer because it's already present on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. Since our platform is quite flexible, you'll be able to run Internet sites with different system requirements and decide whether they will use APC or not. For instance, you can allow APC only for a single version of PHP or you can do this for several of the versions that run on the platform. It's also possible to decide if all sites working with a particular PHP version will use APC or whether the latter will be active just for selected sites and not for all Internet sites in the hosting account. The aforementioned option is useful when you need to employ a different web accelerator for some of your websites. These customizations are carried out effortlessly by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for every script application which runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account requires one click from the Hepsia Control Panel, but if necessary, you can use the module only for certain websites. This is possible because of the versatility of our cloud platform - several 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 website and whether APC has to be enabled or disabled. Employing such a file allows you to use settings that are different from the ones for your account, so you will be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you may use some other type of web accelerator.