APC (PHP Opcode Cache)
What does the acronym 'APC' signify? Why is the presence of APC within your account important as far as your PHP-based websites 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 software applications. Dynamic PHP websites hold their content in a database that is accessed whenever a visitor opens a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and involve reading and writing on the hosting server for every single page that is opened. While this cannot be avoided for sites with regularly changing content material, there're numerous Internet sites that have the same content on many of their webpages all of the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for this kind of websites as it caches the previously compiled code and shows it any time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this lower the server load, but it will also boost the speed of any website many times.
-
APC (PHP Opcode Cache) in Cloud Web Hosting
You will be able to employ APC for your web applications with any of the
cloud web hosting packages that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it'll start caching the program code of your applications. Our platform is really flexible, so you'll be able to use different configurations in accordance with 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 specify the version that each Internet site will use, or you can have the very same version of PHP, but activate or deactivate APC just for particular websites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you require the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each script application which is run on your new
semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a single click inside the Hepsia Control Panel, but if needed, you can use the module only for particular Internet sites. This is possible because of the flexibility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this specific site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for the account, so you can take full advantage of APC for some scripts where the module can make a difference and not for others where you can take advantage of a different type of web accelerator.