APC (PHP Opcode Cache)
What exactly does the acronym 'APC' imply? Why is the presence of APC in your account essential as far as your PHP-based web sites are concerned? How can you turn on this option?
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can boost a database-driven website several times. Every time a PHP page is accessed, the script pulls the site content which should be shown from a database, parses and compiles the program code, and the result is displayed to the visitor. While this is necessary for sites with frequently changing content, it is a waste of processing time and system resources for an Internet site that doesn't change, for example an informational portal which displays identical content all the time. As soon as the webpages for such a site are compiled, APC caches them and delivers them whenever a visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the program code, the website will load much quicker. APC is very useful especially for scripts with large source code.
-
APC (PHP Opcode Cache) in Hosting
You can use APC with each
hosting package that we provide as it is already installed on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is rather flexible, you'll be able to run websites with various requirements and decide whether they will work with APC or not. For instance, you could enable APC only for a single release of PHP or you could do the latter for several of the versions running on the platform. In addition, you can choose if all websites working with a given PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all sites in the website hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for several of your websites. These customizations are performed effortlessly via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all
semi-dedicated hosting solutions since it is pre-installed on the cloud hosting platform where your account will be created. In case you would like to use this module, you will be able to enable it with a single click in your Hepsia Control Panel and it'll be fully operational within a couple of minutes. Since you may need to use alternative web accelerators for selected sites, our state-of-the-art platform will permit you to personalize the software environment inside 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 work with APC employing PHP 5.4 and a WordPress site can work without APC using PHP 5.6. What is needed to do the latter is a php.ini file with a few lines in it, so you'll be able to run websites with different requirements from the same account.