APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it can influence the PHP performance inside your hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP Internet sites store their content inside a database that is accessed whenever a visitor loads a page. The content which has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions take some processing time and involve reading and writing on the server for each page which is opened. While this can't be avoided for websites with regularly changing content material, there are a lot of sites that offer the same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is extremely useful for such websites as it caches the previously compiled code and displays it when visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only reduce the server load, but it'll also increase the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with each and every
shared web hosting package that we offer since it's already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our platform is really flexible, you will be able to run sites with different system requirements and decide if they will use APC or not. For example, you can allow APC only for a single version of PHP or you could do this for several of the releases that run on the platform. You can also select if all sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected sites and not for all websites in the website hosting account. The last option is useful if you wish to employ a different web accelerator for some of your Internet sites. These customizations are carried out with ease through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all
semi-dedicated hosting packages because it's pre-installed on the cloud website hosting platform where your account will be created. In case you want to use this module, you can activate it with a single click inside your Hepsia Control Panel and it will be fully operational within a few minutes. As you may need to use some other web accelerators for selected sites, our outstanding platform will enable you to customize the software environment in your account. You can activate APC for different versions of PHP or use it just for some Internet sites and not for others. For example, a Drupal
™-based Internet site can function with APC employing PHP 5.4 and a WordPress website could work without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with a few lines in it, so you will be able to run sites with different requirements inside the very same account.