APC (PHP Opcode Cache)
Discover what the phrase ‘APC’ means, just what exactly APC is able to do PHP efficiency-wise and how 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 applications. Dynamic PHP websites store their content within a database that is accessed whenever a visitor opens a page. The content that should be shown is gathered and the code is parsed and compiled before it's delivered to the visitor. All of these actions need some processing time and include reading and writing on the server for every single page which is accessed. While this cannot be avoided for websites with regularly changing content material, there're numerous Internet sites which present the exact same content on many of their webpages all the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is extremely useful for this kind of websites as it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this greatly reduce the server load, but it will also increase the speed of any website many times.
-
APC (PHP Opcode Cache) in Cloud Web Hosting
APC is available with every single
cloud web hosting package that we offer and you can activate it with only a click from your Hepsia Control Panel if you wish to use it for your web applications. A couple of minutes later the framework will be working and you will notice the faster loading speed of your database-driven Internet sites. As we offer several releases of PHP that can also be selected from Hepsia, you will even be able to use APC for scripts that need different versions of PHP within the very same account. Our advanced cloud Internet hosting platform is very flexible, so if you use some other web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the aforementioned for a selected site only by using a php.ini file created in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all
semi-dedicated hosting packages as it is pre-installed on the cloud hosting platform where your account shall be created. In case you would like to use this module, you can activate it with a single click inside your Hepsia Control Panel and it'll be fully operational within a few minutes. As you may need to use alternative web accelerators for selected sites, our cutting-edge platform will permit you to customize the software environment inside your account. You'll be able to activate APC for different releases of PHP or use it just for some Internet sites and not for others. For example, a Drupal
™-based site could work with APC employing PHP 5.4 and a WordPress site could work without APC employing PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you will be able to run websites with different requirements inside the very same account.