APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites keep their content within a database which is accessed whenever a visitor opens a page. The content that should be viewed is gathered and the code is parsed and compiled before it is delivered to the site visitor. All of these actions need some processing time and involve reading and writing on the web server for each page which is accessed. While this can't be avoided for websites with constantly changing content material, there're numerous sites that feature the very same content on a number of of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is exceptionally useful for this kind of websites because it caches the already compiled code and displays it every time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this reduce the server load, but it will also raise the speed of any site several times.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to use APC for your web applications with any of the website hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will start caching the program code of your applications. Our platform is rather flexible, so you will be able to use several configurations based on the system requirements of your scripts. For example, you could activate APC for several versions of PHP for the entire account and set the version that each Internet site can use, or you could have the same version of PHP, but enable or disable APC just for specified Internet sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

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