APC (PHP Opcode Cache)
What does the abbreviation 'APC' signify? Just why is the presence of APC in your account essential as far as your PHP-based web sites are concerned? How to enable this option?
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP Internet sites save their content inside a database which is accessed whenever a visitor opens a webpage. The content which should be viewed is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All these actions need some processing time and include reading and writing on the server for each and every page which is loaded. While this cannot be avoided for websites with regularly changing content material, there are numerous websites which have the exact same content on many of their pages constantly - blogs, info portals, hotel and restaurant sites, and many others. APC is very useful for such websites as it caches the already compiled code and shows it every time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. This will not only greatly reduce the server load, but it will also increase the speed of any website several times.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with each and every
cloud hosting solution that we offer and you can enable it with only a click from your Hepsia Control Panel if you'd like to use it for your applications. A few minutes later the framework will be working and you will notice the quicker loading speed of your database-driven Internet sites. Since we offer different releases of PHP which could also be selected from Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP in the very same account. Our advanced cloud hosting platform is extremely flexible, so in case you use some other web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application that is run on your new
semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a single click in the Hepsia Control Panel, but if needed, you could use the module just for certain Internet sites. This is possible on account of the versatility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can select what release will be used for this specific Internet site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for the account, so you will be able to take advantage of APC for many scripts where the module can make a difference and not for others where you could employ another kind of web accelerator.