APC (PHP Opcode Cache)
What does the abbreviation 'APC' imply? Why is the existence of APC in your account important as far as your PHP-based websites are involved? How to activate this option?
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven Internet site several times. Every time a PHP webpage is opened, the script pulls the content that has to be loaded from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for sites with regularly changing content, it is a waste of processing time and resources for a website that does not change, for example an informational portal that displays the exact same content at all times. Once the pages for such a website are compiled, APC caches them and delivers them every time a user loads them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load much faster. APC is really efficient particularly for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC for your web apps with any of the cloud hosting plans that we provide because it's pre-installed on our cloud web hosting platform. Activating it will take only a mouse click inside the Hepsia Control Panel which comes with our shared plans and a few minutes later it'll begin caching the program code of your applications. Our platform is quite flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and select the version that each site will use, or you could have the same version of PHP, but activate or deactivate APC only for particular sites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.