Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very effective for scripts with large source code and will accelerate such a website up to three times. PHP websites are dynamic and each time a user opens a web page, the script links to a database to retrieve some content, after that the code is parsed and compiled before it is shown to the website visitor. In case the output code does not change however, which is the case with sites which display the very same content at all times, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse a website, so the database doesn't need to be accessed and the code does not need to be parsed and compiled over and over again, that consequently reduces the website loading time. The module can be very helpful for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Hosting
You can employ APC for your web apps with all of the cloud hosting packages that we provide as it is pre-installed on our cloud website hosting platform. Activating it will take only a click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll start caching the code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you can activate APC for a couple of versions of PHP for the entire account and set the version that each Internet site will use, or you can have the same version of PHP, but activate or deactivate APC only for specific sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server plans as it's 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 enable it with a single click in your Hepsia Control Panel and it'll be fully operational in a couple of minutes. Since you may need to use other web accelerators for selected Internet sites, our leading-edge platform will allow you to customize the software environment in your account. You'll be able to activate APC for different releases of PHP or use it only for some websites and not for others. For example, a Drupal-based site could work with APC using PHP 5.4 and a WordPress site can work without APC using PHP 5.6. All it takes to do the latter is a php.ini file with several lines in it, so you'll be able to run Internet sites with different requirements inside the same account.