APC (PHP Opcode Cache)
Learn what the acronym ‘APC’ stands for, just what exactly APC is able to do PHP performance-wise and the ways to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites keep their content within a database that is accessed whenever a visitor loads a webpage. The content which should be viewed is gathered and the code is parsed and compiled before it is delivered to the website visitor. All of these actions take some processing time and include reading and writing on the web server for every single page that is opened. While this cannot be avoided for websites with constantly changing content material, there are many websites that have the exact same content on many of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is very useful for such sites because it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. This will not only decrease the server load, but it'll also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Cloud Web Hosting
You can employ APC for your web applications with all of the cloud web hosting
packages that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it will 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 the scripts. For instance, you could activate APC for a couple of releases of PHP for the entire account and choose the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specified Internet sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.