APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP sites store their content inside a database that is accessed whenever a visitor loads a page. The content that needs to be shown is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. These actions take some processing time and involve reading and writing on the web server for each and every page that is accessed. While this can't be avoided for websites with regularly changing content material, there are many sites which present the same content on a lot of of their pages at all times - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is quite useful for this type of sites since it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code does not need to be parsed and compiled again. Not only will this lower the server load, but it'll also increase the speed of any website a few times.

APC (PHP Opcode Cache) in Cloud Website Hosting

APC is pre-installed on our leading-edge cloud platform, so you will be able to use it for your web applications regardless of the cloud website hosting package that you select when you register. The module can be enabled from the Hepsia hosting Control Panel that is used to manage the shared accounts and only a couple of minutes later it will boost your sites since it will start caching their program code. In case you would like to run Internet sites with different system requirements or employ specific web accelerators for some of them, you will be able to customize the software environment by putting a php.ini file in the preferred domain folder. This way, you can enable or disable APC not just for a specific website without affecting the remaining Internet sites in the account, but also for a particular version of PHP since our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is provided with all semi-dedicated hosting solutions because it is pre-installed on the cloud hosting platform where your account shall be created. In case you wish to use this module, you'll be able to activate it with just a single click in 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 state-of-the-art platform will enable you to customize the software environment in your account. You will be able to activate APC for different versions of PHP or use it just for some Internet sites and not for others. For instance, a Drupal-based website can work with APC using 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 different requirements from the exact same account.