APC (PHP Opcode Cache)
Uncover what the abbreviation ‘APC’ is short for, just what exactly APC is able to do PHP performance-wise and how to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites keep their content inside a database which is accessed whenever a visitor opens a page. The content which should be viewed is gathered and the code is parsed and compiled before it's delivered to the site visitor. These actions need some processing time and involve reading and writing on the hosting server for each page which is accessed. While this cannot be avoided for websites with regularly changing content, there're a lot of websites that present the same content on many of their pages constantly - blogs, informational portals, hotel and restaurant websites, etcetera. APC is very useful for this kind of Internet sites since it caches the already compiled code and displays it when visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only decrease the server load, but it'll also raise the speed of any site a few times.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our cutting-edge cloud platform, so you can use it for your applications irrespective of the
cloud hosting package that you choose when you join us. The module can be activated from your Hepsia hosting Control Panel that is used to manage the shared accounts and only a couple of minutes later it will boost your Internet sites because it'll begin caching their program code. If you want to run sites with different system requirements or employ different web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file in the desired domain folder. This way, you can enable or disable APC not just for a particular site without affecting the remaining Internet sites in the account, but also for a specific version of PHP as our platform is compatible with multiple versions simultaneously.
-
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 shall be created. In case you would like to use this module, you can activate it with a single click in your Hepsia Control Panel and it will be fully functional in a few minutes. Since you may need to use some other web accelerators for selected Internet sites, our leading-edge platform will allow you to customize the software environment inside 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 instance, a Drupal
™-based Internet site could work with APC employing PHP 5.4 and a WordPress site could work without APC employing PHP 5.6. What is needed to do the aforementioned is a php.ini file with a couple of lines in it, so you'll be able to run Internet sites with different requirements in the same account.