APC (PHP Opcode Cache)
Learn what the acronym ‘APC’ represents, just what APC can do PHP efficiency-wise and how to activate it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and will speed up such a website up to 3 times. PHP websites are dynamic and any time a user accesses some web page, the script hooks up to a database to get some content, after that the code is parsed and compiled before it is displayed to the guest. If the output code does not change however, that's the case with websites which display the exact same content all of the time, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a site, so the database does not need to be accessed and the code does not need to be parsed and compiled continuously, that in turn lowers the site loading time. The module can be really helpful for informational websites, blogs, portfolios, and many others.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with every single
cloud hosting plan that we offer and you can activate it with just a click from your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be active and you'll be able to take advantage of the considerably quicker loading speed of your database-driven websites. Since we provide several versions of PHP that could also be selected from Hepsia, you will even be able to use APC for scripts that require different versions of PHP in the very same account. Our high tech cloud Internet hosting platform is extremely flexible, so if you use another web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all
semi-dedicated server packages because it is pre-installed on the cloud hosting platform where your account will be created. In case you want to use this module, you can enable it with just a single click inside your Hepsia Control Panel and it will be fully functional in a couple of minutes. Since you may need to use some other web accelerators for selected Internet sites, our state-of-the-art platform will enable you to personalize the software environment in your account. You will be able to activate APC for different versions of PHP or use it just for some Internet 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 employing PHP 5.6. What is needed to do the aforementioned is a php.ini file with a few lines in it, so you can run websites with various requirements inside the same account.