APC (PHP Opcode Cache)
What exactly does the acronym 'APC' imply? Why is the existence of APC within your account essential as far as your PHP-based sites are concerned? How to activate this feature?
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites hold their content in a database which is accessed whenever a visitor opens a page. The content that needs to be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and include reading and writing on the hosting server for each and every page which is accessed. While this can't be avoided for Internet sites with regularly changing content material, there're various websites that have the same content on many of their webpages all the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is quite useful for this kind of Internet sites since it caches the previously compiled code and displays it any time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. This will not only reduce the server load, but it'll also raise the speed of any site many times.
-
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC for your web apps with all of the
cloud hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Activating it will take just a single click inside the Hepsia Control Panel which comes with our shared plans and several minutes later it will begin caching the program code of your applications. Our platform is quite flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the entire account and select the version that each Internet site will use, or you could have the same version of PHP, but enable or disable APC only for particular Internet 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 require the custom configuration.