APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites store their content within a database which is accessed whenever a visitor opens a webpage. The content that has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and require reading and writing on the web server for each page which is opened. While this cannot be avoided for Internet sites with regularly changing content, there are a lot of Internet sites that present the exact same content on many of their webpages constantly - blogs, informational portals, hotel and restaurant sites, and many others. APC is exceptionally useful for this type of sites because it caches the already compiled code and displays it when visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. Not only will this decrease the server load, but it'll also raise the speed of any site several times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting package that we offer and you could enable it with only a click through your Hepsia Control Panel if you would like to use it for your web applications. A few minutes later the framework will be working and you will experience the considerably faster loading speed of your database-driven Internet sites. As we offer several releases of PHP which can also be selected from Hepsia, you'll even be able to to employ APC for scripts that need different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is extremely adaptable, so if you use an alternative web accelerator for any Internet site and it interferes with APC, you will be able to activate or deactivate the latter for a certain 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 since it's pre-installed on the cloud website hosting platform where your account will be created. In case you'd like to use this module, you'll be able to enable it with a single click from your Hepsia Control Panel and it'll be fully functional in a few minutes. As you may need to use other web accelerators for selected Internet sites, our cutting-edge platform will allow you to customize the software environment inside your account. You can activate APC for different releases of PHP or use it just for some Internet 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 using PHP 5.6. What is needed to do the latter is a php.ini file with several lines in it, so you will be able to run sites with various requirements inside the same account.