APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven Internet site several times. When a PHP page is accessed, the script pulls the site content which has to be loaded from a database, parses and compiles the code, then the result is shown to the website visitor. While this is necessary for websites with constantly 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 on a regular basis. When the pages for such a website are compiled, APC caches them and delivers them each time a website visitor loads them. Since this saves the time to get content from the database and to parse and compile the code, your Internet site will load much quicker. APC is very helpful in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every hosting package that we offer since it is already present on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. As our platform is rather flexible, you will be able to run websites with different system requirements and decide if they will use APC or not. For instance, you could enable APC only for a single release of PHP or you can do this for several of the releases that run on our platform. In addition, you can select if all sites using a given PHP version will use APC or whether the latter will be active just for selected sites and not for all websites in the web hosting account. The aforementioned option is useful when you want to employ a different web accelerator for some of your sites. These customizations are carried out without difficulty through 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 plans as it is pre-installed on the cloud hosting platform where your account will be created. If you wish 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 within a couple of minutes. Since you may need to use alternative web accelerators for selected websites, our advanced platform will allow you to customize the software environment inside your account. You will be able to activate APC for different releases of PHP or use it just for some Internet sites and not for others. For example, a Drupal-based website can function with APC employing PHP 5.4 and a WordPress site could work without APC using PHP 5.6. All it takes to do that is a php.ini file with several lines in it, so you can run websites with various requirements inside the very same account.