APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that could speed up a database-driven website several times. Any time a PHP page is opened, the script pulls the website content that should be loaded from a database, parses and compiles the program code, then the result is displayed to the site visitor. While this is necessary for Internet sites with frequently changing content, it is a total waste of processing time and system resources for a site which does not change, such as an informational portal that displays identical content at all times. Once the webpages for such an Internet site are compiled, APC caches them and delivers them each time a visitor accesses them. As this saves the time to get content from the database and to parse and compile the program code, the Internet site will load significantly quicker. APC is very helpful particularly for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
You will be able to use APC for your web applications with all of the cloud hosting packages that we provide as it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse 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 software applications. Our platform is really flexible, so you'll be able to use several configurations in accordance with the system requirements of the scripts. For instance, you could activate APC for a couple of releases of PHP for the whole account and choose the version that each site will use, or you can have the very same version of PHP, but enable or disable APC just for specified sites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the customized configuration.