APC (PHP Opcode Cache)
Uncover what the abbreviation ‘APC’ represents, what exactly APC is able to do PHP efficiency-wise and the way to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP Internet sites store their content within a database which is accessed whenever a visitor loads a webpage. The content which has to be displayed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All these actions need some processing time and require reading and writing on the server for each and every page which is loaded. While this cannot be avoided for websites with regularly changing content material, there're various websites which have the very same content on a number of of their webpages all the time - blogs, informational portals, hotel and restaurant websites, and many others. APC is very useful for this kind of sites as it caches the already compiled code and displays it when visitors browse the cached webpages, so the code does not need to be parsed and compiled again. Not only will this minimize the server load, but it will also boost the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Hosting
You can use APC with each
hosting package that we provide because it's already set up on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. As our platform is extremely flexible, you will be able to run sites with various requirements and decide whether they will use APC or not. For example, you can activate APC only for a single release of PHP or you could do the latter for several of the versions that run on the platform. You may also select if all websites using a particular PHP version will use APC or if the latter will be active only for selected websites and not for all Internet sites in the hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for several of your websites. These customizations are performed effortlessly through 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 solutions since it's pre-installed on the cloud website hosting platform where your account shall be created. In case you'd like 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 couple of minutes. Since you may need to use alternative web accelerators for selected Internet sites, our leading-edge platform will allow you to customize the software environment inside your account. You'll be able to activate APC for different versions of PHP or use it just for some sites and not for others. For instance, a Drupal
™-based Internet site can work with APC employing PHP 5.4 and a WordPress website can function without APC employing PHP 5.6. What is needed to do the aforementioned is a php.ini file with a couple of lines in it, so you will be able to run sites with different requirements inside the exact same account.