APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven website several times. Any time a PHP webpage is accessed, the script pulls the content which needs to be shown from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for websites with regularly changing content, it is a total waste of processing time and system resources for a website that doesn't change, like an informational portal which shows the same content on a regular basis. As soon as the webpages for such a site are compiled, APC caches them and delivers them any time a website visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the site will load significantly quicker. APC is very helpful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with each and every cloud hosting package that we offer as it's already set up on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our system is really flexible, you can run websites with different system requirements and decide whether they will use APC or not. For instance, you could enable APC only for one release of PHP or you could do this for several of the releases running on our platform. In addition, you can select if all Internet sites working with a particular PHP version will use APC or whether the latter will be enabled just for selected sites and not for all websites in the web hosting account. The last option is useful when you would like to employ a different web accelerator for several of your websites. 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 single script application which runs on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if needed, you could use the module only for specific websites. This is possible because of the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for the account, so you could take advantage of APC for some scripts where the module makes a difference and not for others where you could employ a different type of web accelerator.