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 in a database that is accessed whenever a visitor opens a page. The content that should be shown is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions need some processing time and require reading and writing on the server for each page that is loaded. While this cannot be avoided for Internet sites with regularly changing content material, there are numerous websites that have the exact same content on many of their webpages constantly - blogs, informational portals, hotel and restaurant sites, etc. APC is quite useful for such sites since it caches the already compiled code and shows it when visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. Not only will this reduce the server load, but it'll also increase the speed of any site many times.
APC (PHP Opcode Cache) in Shared Hosting
You will be able to employ APC for your web applications with all of the shared hosting packages that we provide because it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll begin caching the code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you will be able to activate APC for a couple of versions of PHP for the whole account and pick the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for particular sites. This is done by putting a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is available with all semi-dedicated server plans as it's pre-installed on the cloud website hosting platform where your account will be created. If you'd like to use this module, you'll be able to activate it with a single click from your Hepsia Control Panel and it will be fully functional in a few minutes. Since you may want to use other web accelerators for selected websites, our cutting-edge platform will enable you to customize the software environment inside your account. You can activate APC for different releases of PHP or use it only for some Internet sites and not for others. For instance, a Drupal-based site can work with APC employing PHP 5.4 and a WordPress site could work without APC using PHP 5.6. All it takes to do the latter is a php.ini file with a couple of lines in it, so you'll be able to run sites with different requirements inside the same account.