APC (PHP Opcode Cache)
Find what the acronym ‘APC’ is short for, precisely what APC is capable of doing PHP efficiency-wise and the way to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites hold their content inside a database which is accessed whenever a visitor loads a webpage. The content which has to be viewed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All of these actions need some processing time and require reading and writing on the hosting server for every single page which is opened. While this can't be avoided for websites with constantly changing content, there're many Internet sites that present the exact same content on many of their webpages at all times - blogs, info portals, hotel and restaurant sites, etcetera. APC is extremely useful for this type of sites as it caches the already compiled code and shows it any time visitors browse the cached pages, so the code doesn't have to be parsed and compiled again. Not only will this greatly reduce the server load, but it'll also boost the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Cloud Web Hosting
You can employ APC for your web applications with all of the
cloud web hosting plans that we provide as it is pre-installed on our cloud web hosting platform. Activating it will take only a click inside the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll start caching the code of your apps. Our platform is quite flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the whole account and choose the version that each website will use, or you can have the same version of PHP, but activate or deactivate APC only for specific sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is available with all
semi-dedicated hosting packages as it is pre-installed on the cloud website hosting platform where your account shall be created. In case you would like to use this module, you'll be able to enable it with a single click inside your Hepsia Control Panel and it'll be fully operational within a couple of minutes. As you may want to use some other web accelerators for selected sites, our advanced platform will allow you to personalize the software environment inside your account. You'll be able to activate APC for different versions of PHP or use it just for some Internet sites and not for others. For example, a Drupal
™-based site can work with APC employing PHP 5.4 and a WordPress site can function without APC employing PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you will be able to run Internet sites with various requirements from the exact same account.