APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can boost a database-driven website several times. When a PHP web page is accessed, the script pulls the site content that should be loaded from a database, parses and compiles the code, then the result is displayed to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a total waste of processing time and system resources for an Internet site which does not change, such as an informational portal which shows the exact same content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them any time a visitor loads them. Since this saves the time to request content from the database and to parse and compile the program code, your website will load significantly faster. APC is very useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC with each and every cloud website hosting package that we provide because it is already set up on our advanced cloud platform and enabling it will take you only a few clicks in your Hepsia Control Panel. Since our system is really flexible, you will be able to run websites with different 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 could do this for several of the releases that run on the platform. In addition, you can decide if all sites working with a specific PHP version will use APC or if the latter will be enabled only for selected sites and not for all websites in the hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for several of your websites. These customizations are done with ease via a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every single 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 generated. Activating or deactivating APC for the entire account requires one click from the Hepsia Control Panel, but if needed, you can use the module only for certain sites. This is possible because of 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 can pick what version will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for your account, so you could take full advantage of APC for many scripts where the module makes a difference and not for others where you could take advantage of some other type of web accelerator.