APC (PHP Opcode Cache)
Find out what the abbreviation ‘APC’ stands for, exactly what APC is able to do PHP performance-wise and approaches to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites save their content within a database that is accessed whenever a visitor opens a webpage. The content which needs to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and include reading and writing on the hosting server for each and every page which is opened. While this cannot be avoided for websites with regularly changing content, there are a lot of sites that feature the very same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant sites, etc. APC is really useful for this kind of sites since it caches the previously compiled code and displays it each time visitors browse the cached pages, so the code does not have to be parsed and compiled again. This will not only greatly reduce the server load, but it will also increase the speed of any Internet site several times.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You'll be able to use APC for your web apps with any of the
shared website hosting packages that we provide because it is pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll begin caching the program code of your apps. Our platform is very flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you can activate APC for several versions of PHP for the entire account and choose the version that each website can use, or you could have the same version of PHP, but enable or disable APC just for specific websites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is available with all
semi-dedicated server plans since it's pre-installed on the cloud website hosting platform where your account shall be created. If you want to use this module, you can activate it with a single click inside your Hepsia Control Panel and it'll be fully functional within a couple of minutes. Since you may need to use alternative web accelerators for selected websites, our state-of-the-art platform will permit you to personalize the software environment inside your account. You can activate APC for different versions of PHP or use it only for some Internet sites and not for others. For instance, a Drupal
™-based Internet site could work with APC employing PHP 5.4 and a WordPress website can function without APC employing PHP 5.6. All it takes to do the latter is a php.ini file with a few lines in it, so you will be able to run websites with various requirements inside the very same account.