APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP Internet sites store their content in a database that is accessed whenever a visitor loads a page. The content which should be shown is retrieved and the code is parsed and compiled prior to it being delivered to the website visitor. These actions take some processing time and involve reading and writing on the web server for every single page which is accessed. While this cannot be avoided for Internet sites with constantly changing content, there are many websites that have the very same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this type of sites as it caches the previously compiled code and shows it whenever visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. Not only will this lower the server load, but it'll also increase the speed of any website a few times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with every single cloud hosting plan that we offer and you could activate it with just a click through your Hepsia Control Panel if you wish to use it for your web applications. A couple of minutes later the framework will be working and you'll notice the quicker loading speed of your database-driven sites. As we provide several versions of PHP which could also be selected through Hepsia, you'll even be able to to use APC for scripts that need different versions of PHP in the very same account. Our next generation cloud Internet hosting platform is extremely flexible, so if you use an alternative web accelerator for any Internet site and it interferes with 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 Servers
You’ll be able to use APC for every script application that runs on your new semi-dedicated server since 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 certain sites. This is possible as a result of the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this particular website and whether APC has to be enabled or disabled. Using 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 some scripts where the module can make a difference and not for others where you could take advantage of a different type of web accelerator.