APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven site several times. Any time a PHP web page is accessed, the script pulls the content which should be displayed from a database, parses and compiles the code, and then the result is shown to the visitor. While this is necessary for sites with regularly changing content, it is a total waste of processing time and resources for an Internet site that does not change, such as an informational portal that displays identical content on a regular basis. Once the web pages for such a website 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 a lot faster. APC is really efficient especially for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to use APC for your web apps with all of the website hosting packages that we provide because it's pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll start caching the program code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the entire account and select the version that each site can use, or you can have the very same version of PHP, but activate or deactivate APC only for specific websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom setup.