APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites keep their content in a database that is accessed whenever a visitor opens a webpage. The content which should be shown is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and involve reading and writing on the server for each page that is loaded. While this can't be avoided for sites with constantly changing content, there are numerous websites which offer the same content on a number of of their webpages at all times - blogs, info portals, hotel and restaurant Internet sites, etc. APC is quite useful for this kind of sites because it caches the already compiled code and shows it each time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. Not only will this decrease the server load, but it'll also increase the speed of any site many times.

APC (PHP Opcode Cache) in Hosting

You will be able to use APC for your web apps with all of the hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it will begin caching the program code of your software apps. Our platform is very flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the whole account and pick the version that each site can use, or you could have the same version of PHP, but enable or disable APC just for specific Internet sites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is provided with all semi-dedicated hosting solutions as it's pre-installed on the cloud hosting platform where your account shall be created. In case you want to use this module, you can activate it with just a single click from your Hepsia Control Panel and it'll be fully functional in a couple of minutes. As you may need to use some other web accelerators for selected sites, our leading-edge platform will allow you to personalize the software environment inside your account. You'll be able to activate APC for different versions of PHP or use it only for some websites and not for others. For instance, a Drupal-based site could work with APC using PHP 5.4 and a WordPress website could work without APC using PHP 5.6. What is needed to do that is a php.ini file with a few lines in it, so you could run Internet sites with different requirements in the same account.