APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ means, what APC is capable of PHP efficiency-wise and the way to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP Internet sites save their content within a database that is accessed whenever a visitor opens a webpage. The content which has to be shown is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions need some processing time and require reading and writing on the web server for each page that is opened. While this cannot be avoided for sites with constantly changing content, there are various Internet sites that present the same content on a number of of their pages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is extremely useful for such Internet sites since it caches the already compiled code and displays it when visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. This will not only lower the server load, but it will also increase the speed of any website many times.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each shared website hosting package that we provide as it's already installed on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. Since our platform is rather flexible, you'll be able to run Internet sites with various requirements and decide if they will work with APC or not. For example, you could activate APC only for a single release of PHP or you can do this for several of the versions running on the platform. You may also decide if all Internet sites using a specific PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all Internet sites in the hosting account. The last option is useful if you want to employ a different web accelerator for several of your Internet sites. These customizations are performed without any difficulty by using a php.ini file in selected domain or subdomain folders.