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 efficient for scripts with large source code and could accelerate such a site up to 3 times. PHP websites are dynamic and each time a website visitor opens a web page, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the guest. If the output code doesn't change however, which is the case with Internet sites that show identical content at all times, these actions trigger needless reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse an Internet site, so the database doesn't need to be accessed and the code doesn't have to be parsed and compiled repeatedly, which consequently lowers the website loading time. The module can be rather useful for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web apps with any of the cloud hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will start caching the program code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and specify the version that each website can use, or you can have the same version of PHP, but activate or deactivate APC just for specified Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is available with all semi-dedicated server plans as it's pre-installed on the cloud hosting platform where your account will be created. In case you would like to use this module, you will be able to activate it with a single click inside your Hepsia Control Panel and it'll be fully functional in a couple of minutes. Since you may need to use alternative web accelerators for selected Internet sites, our state-of-the-art platform will permit you to personalize the software environment inside your account. You can activate APC for different releases of PHP or use it just for some sites and not for others. For example, a Drupal-based site could work with APC employing PHP 5.4 and a WordPress site can function without APC using PHP 5.6. What is needed to do the aforementioned is a php.ini file with a couple of lines in it, so you could run sites with various requirements in the same account.