APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' signify? Just why is the presence of APC inside your account important as far as your PHP-based Internet sites are involved? How to turn on this option?
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can boost a database-driven Internet site several times. Any time a PHP web page is accessed, the script pulls the site content which has to be shown from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for sites with regularly changing content, it's a complete waste of processing time and system resources for a website which does not change, for example an informational portal that displays identical content on a regular basis. Once the webpages for such a website are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to request content from the database and to parse and compile the code, your Internet site will load much quicker. APC is very effective particularly for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web applications with any of the
shared hosting packages that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll begin caching the program code of your software apps. Our platform is quite flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the entire account and set the version that each site will use, or you can have the very same version of PHP, but activate or deactivate APC just for particular sites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you require the custom setup.