APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites save their content in a database that is accessed whenever a visitor opens a page. The content which has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the visitor. All these actions take some processing time and require reading and writing on the hosting server for every single page which is opened. While this cannot be avoided for websites with regularly changing content, there are many sites which have the very same content on a lot of of their pages all of the time - blogs, info portals, hotel and restaurant Internet sites, etc. APC is very useful for such sites because it caches the already compiled code and displays it each time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only minimize the server load, but it will also increase the speed of any website a few times.
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every hosting package 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. As our system is rather flexible, you can run sites with various system requirements and decide if they will work with APC or not. For instance, you can allow APC only for one version of PHP or you could do this for several of the versions running on the platform. In addition, you can choose if all sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected sites and not for all websites in the web hosting account. The last option is useful when you want to employ a different web accelerator for some of your sites. These customizations are performed without 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 because it is pre-installed on the cloud hosting platform where your account will be created. If you'd like to use this module, you will be able to activate it with just a single click inside your Hepsia Control Panel and it'll be fully functional in a few 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 inside your account. You'll be able to activate APC for different versions of PHP or use it only for some sites and not for others. For instance, a Drupal-based Internet site can function with APC employing PHP 5.4 and a WordPress site can work without APC employing PHP 5.6. All it takes to do that is a php.ini file with several lines in it, so you'll be able to run sites with various requirements inside the same account.