APC (PHP Opcode Cache)
Discover what the abbreviation ‘APC’ means, what APC is able to do PHP overall performance-wise and approaches to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP sites save their content inside a database that is accessed whenever a visitor loads a page. The content that has to be shown is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions need some processing time and include reading and writing on the web server for each and every page which is opened. While this cannot be avoided for Internet sites with constantly changing content, there are many websites that have the very same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, etc. APC is extremely useful for such sites because it caches the previously compiled code and shows it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it will also boost the speed of any site several times.
-
APC (PHP Opcode Cache) in Hosting
You can use APC with every single
hosting plan that we offer because it is already installed on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. As our system is really flexible, you can run websites with different requirements and decide if they will work with APC or not. For instance, you could enable APC only for a single version of PHP or you can do this for several of the versions running on our platform. In addition, you can decide if all Internet sites using a particular PHP version will use APC or if the latter will be enabled only for selected websites and not for all websites in the hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several 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 available with all
semi-dedicated server solutions as it is pre-installed on the cloud website hosting platform where your account shall be created. In case you wish to use this module, you'll be able to activate it with just a single click in your Hepsia Control Panel and it'll be fully functional within a couple of minutes. As you may want to use alternative web accelerators for selected Internet sites, our cutting-edge platform will enable you to customize the software environment inside your account. You will be able to activate APC for different versions of PHP or use it just for some sites and not for others. For example, a Drupal
™-based Internet site can work with APC employing PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. All it takes to do the aforementioned is a php.ini file with a few lines in it, so you will be able to run websites with various requirements in the exact same account.