Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and will speed up such a site up to 3 times. PHP sites are dynamic and any time a visitor opens a page, the script connects to a database to get some content, and then the code is parsed and compiled prior to it being shown to the site visitor. If the output code does not change however, which is the case with websites which show the exact same content all of the time, such actions result in excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database does not have to be accessed and the program code does not need to be parsed and compiled again and again, that consequently reduces the site loading time. The module can be very efficient for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Website Hosting

You can use APC for your web applications with any of the shared website hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel that comes with our shared plans and several minutes later it'll start caching the code of your applications. Our platform is quite flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the entire account and set the version that each site can use, or you could have the very same version of PHP, but activate or deactivate APC just for specified websites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is available with all semi-dedicated hosting plans because it is pre-installed on the cloud website hosting platform where your account will be created. If you would like to use this module, you'll be able to activate it with just a single click from your Hepsia Control Panel and it will be fully operational in a few minutes. Since you may need to use other web accelerators for selected sites, our advanced platform will enable you to customize the software environment inside your account. You'll be able to activate APC for different releases of PHP or use it just for some websites and not for others. For instance, a Drupal-based website could work with APC employing PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with a couple of lines in it, so you will be able to run Internet sites with different requirements in the same account.