APC, which is an acronym 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. Any time a PHP web page is accessed, the script pulls the website content that has to be loaded from a database, parses and compiles the program code, and the result is displayed to the website visitor. While this is necessary for Internet sites with routinely changing content, it's a complete waste of processing time and system resources for a website that doesn't change, such as an informational portal that displays identical content all the time. As soon as the webpages for such a website are compiled, APC caches them and delivers them every time a website visitor loads them. As this saves the time to get content from the database and to parse and compile the code, your website will load much quicker. APC is really useful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Shared Web Hosting

You can use APC with every single shared web hosting package that we provide because it's already set up on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you will be able to run sites with different requirements and decide if they will use APC or not. For example, you could activate APC only for a single release of PHP or you can do the latter for several of the versions that run on the platform. In addition, you can select if all sites using a particular PHP version will use APC or whether the latter will be active only for selected Internet sites and not for all websites in the website hosting account. The last option is useful when you wish to employ a different web accelerator for some of your websites. These customizations are carried out 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 is run 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 whole account requires one click inside the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible due to the flexibility 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 choose what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for your account, so you can take advantage of APC for some scripts where the module can make a difference and not for others where you could employ another kind of web accelerator.