APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it could impact the PHP performance in your website hosting account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. Every time a PHP web page is accessed, the script pulls the site content that should 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 frequently changing content, it is a total waste of processing time and system resources for an Internet site which doesn't change, such as an informational portal that shows the exact same content all the time. When the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor accesses them. Since this saves the time to get content from the database and to parse and compile the code, the website will load much quicker. APC is very useful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC for your web applications with any of the cloud website hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it will begin caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For instance, you can activate APC for several versions of PHP for the entire account and pick the version that each site can use, or you could have the exact same version of PHP, but enable or disable APC only for specified sites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.