APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can affect 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 apps. Dynamic PHP websites keep their content inside a database that is accessed whenever a visitor loads a webpage. The content which has to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the website visitor. All these actions need some processing time and involve reading and writing on the server for each and every page which is opened. While this cannot be avoided for Internet sites with constantly changing content, there're many sites that have the exact same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant sites, and many others. APC is exceptionally useful for this type of Internet sites since it caches the already compiled code and shows it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only greatly reduce the server load, but it'll also boost the speed of any site many times.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You'll be able to employ APC for your web applications with all of the
shared web hosting plans that we offer as it's pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll begin caching the code of your software apps. Our platform is really flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For example, you could activate APC for several releases of PHP for the entire account and specify the version that each Internet site can use, or you could have the same version of PHP, but enable or disable APC just for particular sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is available with all
semi-dedicated hosting packages because it's pre-installed on the cloud hosting platform where your account shall be created. If you want to use this module, you'll be able to activate it with a single click from your Hepsia Control Panel and it'll be fully functional within a few minutes. As you may need to use other web accelerators for selected websites, our outstanding platform will permit you to personalize the software environment inside 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 Internet site could work with APC employing PHP 5.4 and a WordPress website can work without APC employing PHP 5.6. All it takes to do the latter is a php.ini file with a few lines in it, so you will be able to run sites with various requirements in the same account.