APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven website several times. Each time a PHP web page is opened, the script pulls the website content which needs to be loaded from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for sites with constantly changing content, it's a complete waste of processing time and system resources for a website which doesn't change, such as an informational portal that shows the exact same content on a regular basis. As soon as the webpages for such a site are compiled, APC caches them and delivers them every time a visitor opens them. As this saves the time to request content from the database and to parse and compile the program code, the site will load significantly faster. APC is very efficient particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to employ APC for your web apps with all of the website hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Turning it on will take only a single click in the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll start caching the program code of your applications. Our platform is rather flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you will be able to activate APC for several releases of PHP for the entire account and set the version that each Internet site can use, or you can have the very same version of PHP, but activate or deactivate APC just for specified sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.