APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can boost a database-driven Internet site several times. Every time a PHP web page is opened, the script pulls the website content that should be displayed from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a total waste of processing time and system resources for a website which does not change, for instance an informational portal which displays the exact same content all the time. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them each time a user opens them. As this saves the time to request content from the database and to parse and compile the program code, the Internet site will load significantly quicker. APC is really efficient particularly for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with each and every cloud hosting
solution that we offer and you could activate it with only a click from your Hepsia Control Panel if you wish to use it for your applications. A couple of minutes later the framework will be active and you'll be able to take advantage of the considerably quicker loading speed of your database-driven sites. Since we provide different releases of PHP that can also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP within the very same account. Our advanced cloud hosting platform is extremely adaptable, so if you use some other web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is available with all semi-dedicated server
packages as it's pre-installed on the cloud website hosting platform where your account shall be created. In case you'd like to use this module, you can enable it with a single click inside your Hepsia Control Panel and it'll be fully operational in a few minutes. Since you may want to use some other web accelerators for selected sites, our advanced platform will allow you to customize the software environment in your account. You can activate APC for different releases of PHP or use it just for some Internet sites and not for others. For example, a Drupal™
-based Internet site can work with APC using PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. What is needed to do that is a php.ini file with a few lines in it, so you'll be able to run Internet sites with different requirements from the same account.