APC (PHP Opcode Cache)
What exactly does the acronym 'APC' signify? Why is the existence of APC in your account essential as far as your PHP-based web sites are concerned? How to turn on this option?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP websites save their content in a database which is accessed whenever a visitor opens a webpage. The content that should be viewed is retrieved and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and require reading and writing on the server for each and every page that is opened. While this cannot be avoided for sites with regularly changing content, there're a lot of websites that feature the exact same content on many of their pages all of the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for such websites as it caches the already compiled code and shows it every time visitors browse the cached pages, so the code does not have to be parsed and compiled again. This will not only decrease the server load, but it will also increase the speed of any website a few times.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting
package that we offer since it is already set up on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is really flexible, you will be able to run websites with different requirements and decide whether they will use APC or not. For example, you can activate APC only for a single release of PHP or you could do the latter for several of the releases that run on our platform. You can also choose if all Internet sites using a certain PHP version will use APC or if the latter will be enabled only for selected sites and not for all sites in the website hosting account. The aforementioned option is useful if you'd like to employ a different web accelerator for several of your sites. These customizations are carried out with ease via 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 is pre-installed on the cloud website hosting platform where your account shall be created. In case you want to use this module, you will be able to activate it with a single click in your Hepsia Control Panel and it'll be fully functional in a few minutes. As you may want to use other web accelerators for selected websites, our state-of-the-art platform will allow you to customize the software environment in your account. You will be able to activate APC for different versions of PHP or use it just for some websites 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 employing PHP 5.6. What is needed to do the latter is a php.ini file with several lines in it, so you will be able to run sites with different requirements from the same account.