Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very useful for scripts with large source code and could speed up such a website up to 3 times. PHP sites are dynamic and whenever a visitor accesses a page, the script hooks up to a database in order to retrieve some content, after that the code is parsed and compiled before it's shown to the site visitor. If the output code doesn't change however, that's the case with websites that display the exact same content at all times, such actions result in unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse an Internet site, so the database does not need to be accessed and the code doesn't need to be parsed and compiled over and over again, which in turn minimizes the Internet site loading time. The module can be rather helpful for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You can employ APC for your web applications with any of the hosting plans that we offer because it is pre-installed on our cloud web hosting platform. Enabling it will take just a single click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it will start caching the program code of your software applications. Our platform is quite flexible, so you will be able to use different configurations based on the system requirements of the scripts. For instance, you can activate APC for several releases of PHP for the entire account and pick the version that each site will use, or you could have the same version of PHP, but enable or disable APC only for particular websites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all semi-dedicated hosting packages because it's pre-installed on the cloud hosting platform where your account shall be created. In case you wish to use this module, you will be able to enable it with just a single click from your Hepsia Control Panel and it'll be fully operational within a couple of minutes. Since you may need to use other web accelerators for selected websites, our advanced platform will permit you to customize the software environment in your account. You will be able to activate APC for different versions of PHP or use it just for some Internet sites and not for others. For example, a Drupal-based website can function with APC using PHP 5.4 and a WordPress site can work without APC using PHP 5.6. What is needed to do the latter is a php.ini file with a couple of lines in it, so you'll be able to run Internet sites with different requirements in the very same account.