APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. Any time a PHP webpage is accessed, the script pulls the website content that has to be displayed from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for sites with routinely changing content, it's a total waste of processing time and system resources for a website that does not change, for example an informational portal which displays the exact same content at all times. Once the web pages for such an Internet site are compiled, APC caches them and delivers them each time a website visitor loads them. As this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load much faster. APC is really efficient in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can employ APC for your web applications with any of the cloud website hosting
packages that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the program code of your apps. Our platform is extremely flexible, so you will 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 whole account and choose the version that each site can use, or you can have the same version of PHP, but enable or disable APC only for specific Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is available with all semi-dedicated hosting
packages since it's pre-installed on the cloud website hosting platform where your account shall 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 want to use alternative web accelerators for selected websites, our leading-edge platform will allow you to personalize the software environment in your account. You can activate APC for different releases of PHP or use it only for some Internet sites and not for others. For instance, a Drupal™
-based site can function with APC using PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with a few lines in it, so you can run Internet sites with various requirements inside the same account.