APC (PHP Opcode Cache)
Learn what the abbreviation ‘APC’ stands for, exactly what APC can do PHP efficiency-wise and the ways to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP sites hold their content in a database that is accessed whenever a visitor loads a page. The content which should be viewed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. These actions need some processing time and require reading and writing on the server for each page that is opened. While this cannot be avoided for Internet sites with regularly changing content material, there're numerous websites which offer the same content on a lot of of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, etc. APC is extremely useful for this kind of sites as it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code doesn't have to be parsed and compiled again. Not only will this greatly reduce the server load, but it'll also increase the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every
hosting package that we provide since it's already set up on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our system is really flexible, you will be able to run sites with different system requirements and decide if they will use APC or not. For instance, you could activate APC only for a single release of PHP or you could do the latter for several of the releases running on our platform. It's also possible to select if all websites using a particular PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all Internet sites in the web hosting account. The last option is useful if you intend to employ a different web accelerator for some of your Internet sites. These customizations are carried out effortlessly by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all
semi-dedicated server plans because it's pre-installed on the cloud hosting platform where your account will be created. If you wish to use this module, you will be able to activate it with 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 websites, our leading-edge platform will enable you to customize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it only for some sites and not for others. For example, a Drupal
™-based website could work with APC using PHP 5.4 and a WordPress site can function without APC using PHP 5.6. What is needed to do that is a php.ini file with several lines in it, so you will be able to run sites with different requirements from the very same account.