Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and could accelerate such an Internet site as much as 3 times. PHP websites are dynamic and every time a visitor opens a page, the script hooks up to a database in order to get some content, and then the code is parsed and compiled before it is shown to the site visitor. If the output code doesn't change however, that is the case with websites that show the very same content all the time, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database does not have to be accessed and the code doesn't have to be parsed and compiled repeatedly, which consequently lowers the website loading time. The module can be rather helpful for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web applications with all of the cloud hosting
plans that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click in the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it'll start caching the program code of your apps. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and choose the version that each website will use, or you can have the same version of PHP, but enable or disable APC only for particular Internet sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server
packages since it's pre-installed on the cloud website hosting platform where your account will be created. In case you would like to use this module, you can enable it with a single click from your Hepsia Control Panel and it'll be fully functional within a few minutes. Since you may need to use alternative web accelerators for selected websites, our cutting-edge platform will permit you to customize the software environment in your account. You can activate APC for different releases of PHP or use it only for some sites and not for others. For example, a Drupal™
-based site can function with APC using PHP 5.4 and a WordPress website can work without APC using PHP 5.6. All it takes to do the aforementioned is a php.ini file with several lines in it, so you will be able to run websites with different requirements from the same account.