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 will speed up such a website as much as three times. PHP sites are dynamic and whenever a website visitor opens a webpage, the script connects to a database to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the visitor. In case the output code does not change however, which is the case with websites that show the very same content all the time, 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 a site, so the database doesn't need to be accessed and the program code does not have to be parsed and compiled again and again, that consequently lowers the site loading time. The module could be pretty useful for informational websites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every shared hosting plan that we provide since it's already installed on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is extremely flexible, you can run Internet sites with various system requirements and decide whether they will use APC or not. For example, you can activate APC only for one version of PHP or you can do this for several of the releases running on the platform. You can also decide if all Internet sites working with a particular PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all sites in the website hosting account. The aforementioned option is useful if you need to employ a different web accelerator for several of your sites. These customizations are performed without any difficulty by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server packages as it is pre-installed on the cloud hosting platform where your account will be created. In case you would like to use this module, you'll be able to enable it with just a single click from your Hepsia Control Panel and it'll be fully functional within a couple of minutes. As you may want to use alternative web accelerators for selected websites, our state-of-the-art platform will permit you to customize the software environment inside your account. You'll be able to activate APC for different versions of PHP or use it only for some Internet sites and not for others. For instance, a Drupal-based Internet site can function with APC employing PHP 5.4 and a WordPress website can work without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with several lines in it, so you'll be able to run sites with various requirements from the same account.