APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can boost a database-driven website several times. Every time a PHP page is opened, the script pulls the content that should be shown from a database, parses and compiles the code, and the result is displayed to the visitor. While this is necessary for websites with constantly changing content, it is a total waste of processing time and system resources for an Internet site that doesn't change, like an informational portal which displays the exact same content on a regular basis. Once the pages for such a website are compiled, APC caches them and delivers them whenever a visitor accesses them. As this saves the time to get content from the database and to parse and compile the program code, the site will load considerably faster. APC is really efficient especially for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You'll be able to use APC for your web apps with any of the cloud website hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it'll begin caching the code of your apps. Our platform is extremely flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and specify the version that each site can use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular 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.