Alternative PHP Cache, or APC, is a module for Apache web servers that is used 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 as much as 3 times. PHP websites are dynamic and any time a user accesses some webpage, the script connects to a database to retrieve some content, then the code is parsed and compiled prior to it being shown to the website visitor. If the output code does not change however, which is the case with Internet sites which display the very same content all of the time, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a site, so the database doesn't have to be accessed and the program code does not need to be parsed and compiled over and over again, that in turn reduces the site loading time. The module could be quite useful for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Website Hosting

You'll be able to use APC for your web applications with any of the cloud website hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will start caching the program code of your apps. Our platform is very flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the whole account and specify the version that each site will use, or you could have the exact same version of PHP, but activate or deactivate APC just for specific websites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is available with all semi-dedicated server packages as it's pre-installed on the cloud website hosting platform where your account shall be created. In case you would like to use this module, you'll be able to enable it with a single click inside your Hepsia Control Panel and it'll be fully functional in a few minutes. As you may want to use other web accelerators for selected websites, our outstanding platform will enable you to personalize the software environment in your account. You will be able to activate APC for different versions of PHP or use it only for some sites and not for others. For instance, a Drupal-based Internet site can work with APC employing PHP 5.4 and a WordPress site can work without APC employing PHP 5.6. All it takes to do the latter is a php.ini file with several lines in it, so you will be able to run Internet sites with various requirements in the exact same account.