APC (PHP Opcode Cache)
Find out what the abbreviation ‘APC’ is short for, exactly what APC is capable of doing PHP performance-wise and approaches 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 Internet sites store their content within a database which is accessed whenever a visitor opens a webpage. The content which has to be displayed 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 involve reading and writing on the server for each page that is loaded. While this cannot be avoided for websites with regularly changing content, there're various websites that feature the very same content on many of their pages all of the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is really useful for such Internet sites as it caches the already compiled code and shows it every time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled all over again. This will not only decrease the server load, but it'll also raise the speed of any website several times.
APC (PHP Opcode Cache) in Website Hosting
You will be able to use APC for your web apps with all of the website hosting plans that we provide as it is pre-installed on our cloud web hosting platform. Turning it on will take only a click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the code of your applications. Our platform is quite flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you can activate APC for several versions of PHP for the whole account and select the version that each site will use, or you can have the exact same version of PHP, but enable or disable APC just for specific sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the customized setup.