APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites keep their content in a database that is accessed whenever a visitor loads a page. The content that should be displayed is gathered and the code is parsed and compiled before it's delivered to the visitor. All of these actions take some processing time and include reading and writing on the hosting server for every single page that is accessed. While this can't be avoided for sites with constantly changing content material, there are various sites which offer the very same content on many of their pages constantly - blogs, info portals, hotel and restaurant websites, etc. APC is very useful for such websites because it caches the already compiled code and shows it every time visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. This will not only minimize the server load, but it will also raise the speed of any site a few times.
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with every single shared hosting
package that we offer and you could activate it with just a click from your Hepsia Control Panel if you want to use it for your applications. Several minutes later the framework will be working and you'll experience the considerably faster loading speed of your database-driven sites. As we offer different versions of PHP that can also be selected from Hepsia, you will even be able to use APC for scripts that require different versions of PHP in the very same account. Our high tech cloud web hosting platform is extremely flexible, so in case you use a different web accelerator for any Internet site and it disrupts APC, you will be able to activate or deactivate the aforementioned for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that is run on your new semi-dedicated server
as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a click from the Hepsia Control Panel, but if needed, you can use the module only for certain websites. This is possible on account of the versatility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can select what release will be used for this specific website and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you'll be able to take advantage of APC for a lot of scripts where the module makes a difference and not for others where you can employ a different type of web accelerator.