APC (PHP Opcode Cache)
Learn what the phrase ‘APC’ represents, exactly what APC is able to do PHP overall performance-wise and the way to enable it for your account.
APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can boost a database-driven site several times. Any time a PHP page is accessed, the script pulls the content which should be loaded from a database, parses and compiles the program code, and the result is shown to the site visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and resources for an Internet site which doesn't change, for example an informational portal which shows the exact same content on a regular basis. Once the webpages for such a site are compiled, APC caches them and delivers them each time a visitor opens them. Since this saves the time to collect content from the database and to parse and compile the code, the website will load much quicker. APC is very useful especially for scripts with large source code.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each website hosting plan that we provide because it is already present on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. As our system is really flexible, you will be able to run sites with various requirements and decide whether they will use APC or not. For example, you can allow APC only for a single version of PHP or you can do this for several of the versions running on the platform. In addition, you can select if all sites working with a specific PHP version will use APC or whether the latter will be enabled only for selected Internet sites and not for all sites in the website hosting account. The last option is useful when you need to employ a different web accelerator for some of your Internet sites. These customizations are performed effortlessly by using a php.ini file in selected domain or subdomain folders.