APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can boost a database-driven Internet site several times. When a PHP webpage is opened, the script pulls the website content which has to be loaded from a database, parses and compiles the code, and then the result is shown to the visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and resources for a site which does not change, for example an informational portal that shows the exact same content on a regular basis. When the web pages for such a website are compiled, APC caches them and delivers them whenever a visitor loads them. As this saves the time to collect content from the database and to parse and compile the code, the website will load a lot faster. APC is really useful particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC for your web apps with any of the cloud website hosting plans that we provide because it is pre-installed on our cloud website hosting platform. Activating it will take only a single click in the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it will start caching the program code of your applications. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for a couple of versions of PHP for the whole account and select the version that each site can use, or you could have the very same version of PHP, but enable or disable APC only for specific Internet sites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.