APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. Each time a PHP web page is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the code, and then the result is shown to the website visitor. While this is necessary for sites with constantly changing content, it is a total waste of processing time and resources for a website that does not change, like an informational portal which displays identical content at all times. When the pages for such a site are compiled, APC caches them and delivers them each time a visitor accesses them. As this saves the time to collect content from the database and to parse and compile the code, the site will load considerably faster. APC is very useful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with each cloud hosting package that we provide since it's already set up on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you can run Internet sites with various 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 the latter for several of the versions running on the platform. You can also choose if all Internet sites working with a particular PHP version will use APC or if the latter will be enabled just for selected sites and not for all websites in the website 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 performed without difficulty through a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes one click in the Hepsia Control Panel, but if necessary, you can use the module only for particular Internet sites. 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 can select what version will be used for this particular site and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the account, so you could take advantage of APC for many scripts where the module can make a difference and not for others where you may take advantage of some other type of web accelerator.