Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very useful for scripts with large source code and can boost such a site as much as 3 times. PHP websites are dynamic and any time a visitor opens some web page, the script connects to a database to retrieve some content, after that the code is parsed and compiled before it's shown to the site visitor. In case the output code does not change however, that's the case with sites that show the very same content at all times, these actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse an Internet site, so the database does not have to be accessed and the program code does not have to be parsed and compiled continuously, that in turn decreases the site loading time. The module can be quite useful for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Shared Web Hosting
You can employ APC for your web apps with all of the shared web hosting
packages that we offer because it's pre-installed on our cloud website hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it will begin caching the code of your apps. Our platform is very flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the entire account and select the version that each Internet site will use, or you could have the very same version of PHP, but enable or disable APC only for particular websites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is available with all semi-dedicated hosting
solutions because it's pre-installed on the cloud website hosting platform where your account shall be created. If you'd like to use this module, you can activate it with a single click in your Hepsia Control Panel and it'll be fully operational within a few minutes. As you may need to use alternative web accelerators for selected websites, our cutting-edge platform will enable you to personalize the software environment in your account. You can activate APC for different versions of PHP or use it just for some websites and not for others. For instance, a Drupal™
-based Internet site can function with APC employing PHP 5.4 and a WordPress site could work without APC using PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you'll be able to run sites with various requirements from the exact same account.