APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it can influence the PHP performance within your hosting account.
APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could speed up a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the site content which has to be displayed from a database, parses and compiles the program code, and the result is shown to the site visitor. While this is necessary for sites with frequently changing content, it's a complete waste of processing time and resources for an Internet site which does not change, for example an informational portal which displays the exact same content all the time. When the pages for such an Internet site are compiled, APC caches them and delivers them any time a visitor accesses them. As this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load a lot quicker. APC is really useful especially for scripts with massive source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every
cloud hosting plan that we offer because it is already present on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. Since our system is rather flexible, you'll be able to run sites with different system requirements and decide if they will work with APC or not. For instance, you can allow APC only for one release of PHP or you could do the latter for several of the releases that run on the platform. In addition, you can select if all sites using a certain PHP version will use APC or if the latter will be enabled just for selected websites and not for all sites in the web hosting account. The last option is useful when you want to employ a different web accelerator for some of your websites. These customizations are performed with ease through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all
semi-dedicated server plans because it's pre-installed on the cloud website 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 inside your Hepsia Control Panel and it will be fully functional within a couple of minutes. As you may want to use other web accelerators for selected websites, our cutting-edge platform will allow you to customize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it just for some websites and not for others. For instance, a Drupal
™-based site could work with APC using PHP 5.4 and a WordPress website could work without APC employing PHP 5.6. All it takes to do the aforementioned is a php.ini file with a couple of lines in it, so you will be able to run websites with various requirements in the same account.