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 can boost such a site up to three times. PHP websites are dynamic and each time a website visitor opens a page, the script hooks up to a database to get some content, and then the code is parsed and compiled before it's displayed to the website visitor. If the output code does not change however, which is the case with websites that show the same content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse an Internet site, so the database does not have to be accessed and the program code does not have to be parsed and compiled again and again, that consequently decreases the website loading time. The module can be very effective for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Hosting

You will be able to employ APC for your web apps with any of the hosting packages that we provide since it is pre-installed on our cloud web hosting platform. Activating it will take only a mouse click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it will start caching the code of your apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the whole account and specify the version that each site can use, or you can have the very same version of PHP, but enable or disable APC only for specified Internet sites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is available with all semi-dedicated hosting plans as it is pre-installed on the cloud hosting platform where your account will be created. If you'd like to use this module, you can enable it with just a single click from your Hepsia Control Panel and it will be fully functional in a couple of minutes. Since you may want to use some other web accelerators for selected sites, our cutting-edge platform will allow you to personalize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it just for some websites and not for others. For instance, a Drupal-based site could work with APC using PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. All it takes to do the aforementioned is a php.ini file with a few lines in it, so you'll be able to run sites with various requirements inside the exact same account.