APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites hold their content inside a database that is accessed whenever a visitor opens a webpage. The content which should be displayed is gathered and the code is parsed and compiled before it's delivered to the visitor. All of these actions take some processing time and require reading and writing on the web server for each page that is loaded. While this cannot be avoided for websites with regularly changing content, there are many sites that offer the same content on a lot of of their pages all the time - blogs, informational portals, hotel and restaurant websites, etc. APC is really useful for this kind of websites since it caches the previously compiled code and shows it every time visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. This will not only lower the server load, but it'll also boost the speed of any site several times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our next generation cloud platform, which means that you can use it for your web applications irrespective of the cloud hosting package that you choose when you join us. The module can be activated from the Hepsia internet hosting Control Panel that is used to maintain the shared accounts and only several minutes later it will speed up your websites because it will begin caching their program code. If you wish to run sites with different system requirements or use different web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file inside the desired domain folder. This way, you can enable or disable APC not just for a certain site without affecting the other sites in the account, but also for a certain version of PHP because our platform supports multiple versions simultaneously.
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 website hosting platform where your account will be created. In case you would like to use this module, you will be able to enable it with just a single click inside your Hepsia Control Panel and it will be fully functional within a couple of minutes. As you may want to use some other web accelerators for selected sites, our advanced platform will enable you to customize the software environment in your account. You can activate APC for different releases of PHP or use it only for some Internet sites and not for others. For example, a Drupal-based site could work with APC employing PHP 5.4 and a WordPress site can work without APC using PHP 5.6. All it takes to do that is a php.ini file with several lines in it, so you will be able to run websites with different requirements inside the very same account.