APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can impact the PHP performance within your web hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP sites store their content within a database that is accessed whenever a visitor opens a webpage. The content which has to be shown is retrieved and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions need some processing time and involve reading and writing on the hosting server for each and every page that is opened. While this can't be avoided for websites with constantly changing content material, there are a lot of websites which have the exact same content on many of their webpages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is exceptionally useful for this kind of sites because it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. Not only will this reduce the server load, but it'll also raise the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Shared Hosting
You will be able to use APC for your web apps with all of the
shared hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Enabling it will take just a click in the Hepsia Control Panel that is provided with our shared plans and several minutes later it will begin caching the code of your software apps. Our platform is extremely flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For instance, you can activate APC for a couple of releases of PHP for the whole account and choose the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC just for specified sites. You can do this by placing a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all
semi-dedicated server packages since it is pre-installed on the cloud website hosting platform where your account shall be created. In case you'd like to use this module, you can activate it with a single click inside your Hepsia Control Panel and it'll be fully operational within a couple of minutes. Since you may need to use some other web accelerators for selected Internet sites, our cutting-edge platform will allow you to personalize the software environment inside your account. You can activate APC for different versions of PHP or use it only for some sites and not for others. For example, a Drupal
™-based Internet site could work with APC using PHP 5.4 and a WordPress website can work without APC using PHP 5.6. All it takes to do that is a php.ini file with a couple of lines in it, so you can run websites with various requirements inside the exact same account.