APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ represents, exactly what APC is able to do PHP efficiency-wise and how to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very effective for scripts with large source code and can boost such a site as much as 3 times. PHP sites are dynamic and every time a user accesses a page, the script hooks up to a database to get some content, then the code is parsed and compiled prior to it being shown to the website visitor. If the output code does not change however, that is the case with sites which display the exact same content all the time, such actions result in needless reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse a website, so the database does not need to be accessed and the program code does not need to be parsed and compiled repeatedly, which in turn reduces the site loading time. The module can be very helpful for informational sites, blogs, portfolios, etc.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you'll be able to use it for your web applications whatever the
shared hosting package that you select when you register. The module can be enabled from your Hepsia hosting Control Panel that is used to maintain the shared accounts and just several minutes later it'll speed up your Internet sites because it'll start caching their code. In case you want to run Internet sites with different system requirements or use specific web accelerators for any of them, you'll be able to customize the software environment by putting a php.ini file inside the preferred domain folder. This way, you can enable or disable APC not just for a specific website without affecting the other sites in the account, but also for a particular version of PHP since our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all
semi-dedicated hosting solutions because it is pre-installed on the cloud hosting platform where your account shall be created. In case you wish to use this module, you will be able to activate it with a single click inside your Hepsia Control Panel and it'll be fully functional in a few minutes. As you may need to use alternative web accelerators for selected sites, our outstanding platform will allow you to customize the software environment in your account. You can activate APC for different releases of PHP or use it only for some websites and not for others. For example, a Drupal
™-based Internet site can work with APC using PHP 5.4 and a WordPress website can work without APC using PHP 5.6. What is needed to do that is a php.ini file with a few lines in it, so you can run sites with various requirements from the same account.