APC (PHP Opcode Cache)
Find what the phrase ‘APC’ is short for, what exactly APC can do PHP performance-wise and the way to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and will boost such a site as much as three times. PHP sites are dynamic and every time a visitor accesses a web page, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the site visitor. If the output code does not change however, that's the case with Internet sites that show 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 code and delivers it each time visitors browse a website, so the database does not have to be accessed and the code does not need to be parsed and compiled repeatedly, which consequently decreases the website loading time. The module could be really useful for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every shared hosting
solution that we offer and you could enable it with only a click from your Hepsia Control Panel if you want to use it for your web apps. A couple of minutes later the framework will be active and you'll experience the quicker loading speed of your database-driven Internet sites. As we provide different releases of PHP that could also be selected from Hepsia, you will even be able to use APC for scripts which require different versions of PHP inside the same account. Our high tech cloud Internet hosting platform is very flexible, so in case you use an alternative web accelerator for any Internet site and it disturbs APC, you'll be able to activate or deactivate the latter for a certain 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 because it is pre-installed on the cloud hosting platform where your account shall be created. If you wish to use this module, you can activate it with just a single click from your Hepsia Control Panel and it will be fully operational within a few minutes. Since you may need to use some other web accelerators for selected Internet sites, our leading-edge platform will permit 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 sites and not for others. For instance, a Drupal™
-based website can work with APC using PHP 5.4 and a WordPress website can work without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with a couple of lines in it, so you can run sites with various requirements in the exact same account.