Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and could speed up such a website up to three times. PHP sites are dynamic and every time a visitor opens some webpage, the script links to a database in order to get some content, after that the code is parsed and compiled before it's displayed to the website visitor. In case the output code doesn't change however, that is the case with websites that show the exact same content all the time, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse a site, so the database does not have to be accessed and the code doesn't need to be parsed and compiled continuously, that in turn reduces the website loading time. The module can be rather useful for informational sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Website Hosting

You can use APC with each website hosting plan that we offer as it's already present on our advanced cloud platform and activating it will take you only a couple of clicks inside your Hepsia Control Panel. Since our platform is extremely flexible, you will be able to run Internet sites with different requirements and decide whether they will work with APC or not. For example, you could activate APC only for one release of PHP or you could do the latter for several of the releases that run on our platform. In addition, you can select if all websites using a particular PHP version will use APC or if the latter will be active only for selected Internet sites and not for all Internet sites in the web hosting account. The aforementioned option is useful when you want to employ a different web accelerator for several of your sites. These customizations are done without difficulty by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is installed on the state-of-the-art cloud web hosting platform where all semi-dedicated hosting accounts are made, so you could use it irrespective of the package you select. Enabling the module is performed through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or earlier experience to take advantage of it. As you will be able to employ several releases of PHP at the same time, you'll be able to customize the software environment for each site which you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will allow you to set what release of PHP this specific website will use and if APC has to be on or off for it. These settings will have priority over those for the account as a whole, so you could run different scripts and use different web accelerators for sites that are in the same account.