APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the website content which should be loaded from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it is a total waste of processing time and system resources for a website which does not change, like an informational portal which displays the exact same content at all times. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor opens them. As this saves the time to request content from the database and to parse and compile the code, your website will load a lot quicker. APC is very helpful particularly for scripts with large source code.
APC (PHP Opcode Cache) in Web Hosting
You will be able to employ APC for your web applications with all of the web hosting packages that we offer since it's pre-installed on our cloud website hosting platform. Turning it on will take just a click in 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 software applications. Our platform is extremely flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and choose the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC only for specified sites. You can do this by putting a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server packages because it is pre-installed on the cloud hosting platform where your account shall be created. If you would like to use this module, you'll be able to activate it with just a single click in your Hepsia Control Panel and it will be fully operational in a couple of minutes. Since you may want to use some other web accelerators for selected Internet sites, our advanced platform will permit you to customize the software environment inside your account. You'll be able to activate APC for different versions of PHP or use it only for some sites and not for others. For instance, a Drupal-based Internet site can function with APC employing PHP 5.4 and a WordPress site can work without APC employing PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you could run websites with various requirements from the exact same account.