Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and will speed up such a website up to 3 times. PHP websites are dynamic and whenever a website visitor accesses a webpage, the script links to a database to retrieve some content, and then the code is parsed and compiled before it is displayed to the website visitor. If the output code does not change however, which is the case with sites that show the same content at all times, such actions result in needless 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 doesn't need to be accessed and the program code doesn't need to be parsed and compiled again and again, that consequently reduces the Internet site loading time. The module can be pretty efficient for informational websites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Shared Hosting

APC is available with each and every shared hosting plan that we offer and you could enable it with only a click from your Hepsia Control Panel if you wish to use it for your web applications. A couple of minutes later the framework will be working and you'll experience the considerably faster loading speed of your database-driven Internet sites. As we provide several releases of PHP which could also be selected through Hepsia, you'll even be able to to use APC for scripts that require different versions of PHP within the same account. Our next generation cloud hosting platform is very flexible, so in case you use an alternative web accelerator for any Internet site and it disrupts APC, you will be able to activate or deactivate the latter for a specific site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is available with all semi-dedicated server packages because it's pre-installed on the cloud hosting platform where your account shall be created. In case you want to use this module, you will be able to activate it with a single click inside your Hepsia Control Panel and it will be fully functional in a few minutes. As you may need to use other web accelerators for selected sites, our leading-edge 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 websites and not for others. For instance, a Drupal-based site can function with APC using PHP 5.4 and a WordPress website can function without APC using PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you can run websites with various requirements inside the very same account.