APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites save their content in a database that is accessed whenever a visitor loads a page. The content which has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and involve reading and writing on the hosting server for every single page that is accessed. While this cannot be avoided for sites with regularly changing content, there're many sites which have the very same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for this type of websites because it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this reduce the server load, but it will also boost the speed of any Internet site several times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You'll be able to use APC for your web apps with any of the cloud website hosting
plans that we provide as it's pre-installed on our cloud web hosting platform. Enabling it will take just a click in the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it'll start caching the program code of your software apps. Our platform is rather flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and choose the version that each website can use, or you can have the very same version of PHP, but enable or disable APC just for particular Internet sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server
packages because it is pre-installed on the cloud website hosting platform where your account will be created. If you want to use this module, you will be able to enable it with a single click inside your Hepsia Control Panel and it will be fully functional in a few minutes. As you may need to use alternative web accelerators for selected Internet sites, our advanced platform will enable you to personalize the software environment inside your account. You can activate APC for different versions of PHP or use it just for some Internet sites and not for others. For instance, a Drupal™
-based Internet site can work with APC employing PHP 5.4 and a WordPress website could 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 can run websites with different requirements in the exact same account.