APC (PHP Opcode Cache)
Find out what the acronym ‘APC’ is short for, exactly what APC is able to do PHP performance-wise and how to activate it for your account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could speed up a database-driven site several times. Every time a PHP web page is accessed, the script pulls the content which needs to be loaded from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for sites with frequently changing content, it's a total waste of processing time and system resources for a site that does not change, for instance an informational portal which displays the exact same content on a regular basis. When the pages for such a website are compiled, APC caches them and delivers them every time a visitor accesses them. As this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load much faster. APC is very efficient especially for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Web Hosting
You can employ APC for your web applications with any of the cloud web hosting packages that we provide since it is pre-installed on our cloud web hosting platform. Enabling it will take only a click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll begin caching the code of your software apps. Our platform is extremely flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For example, you could activate APC for several releases of PHP for the whole account and select the version that each Internet site can use, or you could have the very same version of PHP, but enable or disable APC just 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 customized setup.