APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it can affect the PHP performance within your website hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP sites save their content within a database which is accessed whenever a visitor loads a page. The content that has to be viewed is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and require reading and writing on the server for every single page that is opened. While this can't be avoided for Internet sites with regularly changing content, there are many websites which have the exact same content on a lot of of their webpages at all times - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is extremely useful for this type of websites since it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. This will not only greatly reduce the server load, but it will also boost the speed of any website many times.
-
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each and every
website hosting plan that we offer as it's already set up 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 really flexible, you'll be able to run sites with various requirements and decide if they will work with APC or not. For example, you could activate APC only for one version of PHP or you could do the latter for several of the versions running on the platform. You may also decide if all Internet sites using a specific PHP version will use APC or if the latter will be enabled only for selected sites and not for all Internet sites in the hosting account. The last option is useful if you want to employ a different web accelerator for several of your Internet sites. These customizations are done effortlessly 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 solutions because it is pre-installed on the cloud website hosting platform where your account will be created. If you wish to use this module, you will be able to enable it with just a single click from your Hepsia Control Panel and it will be fully functional in a few minutes. Since you may need to use alternative web accelerators for selected websites, our state-of-the-art platform will enable you to personalize the software environment in your account. You can activate APC for different versions of PHP or use it only for some websites and not for others. For instance, a Drupal
™-based website could work with APC using PHP 5.4 and a WordPress site could work without APC using PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you can run websites with different requirements inside the very same account.