APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites store their content within a database which is accessed whenever a visitor opens a page. The content that has to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions need some processing time and involve reading and writing on the hosting server for each and every page that is opened. While this can't be avoided for websites with regularly changing content material, there're various Internet sites that feature the very same content on a lot of of their pages all the time - blogs, informational portals, hotel and restaurant sites, and many others. APC is really useful for this type of sites because it caches the previously compiled code and displays it each time visitors browse the cached pages, so the code does not need to be parsed and compiled again. Not only will this greatly reduce the server load, but it'll also raise the speed of any website a few times.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web applications with all of the shared hosting packages that we provide because it is pre-installed on our cloud web hosting platform. Enabling it will take only a single click in the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll start caching the code of your apps. Our platform is rather flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For instance, you could activate APC for a couple of versions of PHP for the whole account and specify the version that each website can use, or you could have the exact same version of PHP, but activate or deactivate APC only for specified Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with our semi-dedicated hosting solutions and activating this framework is done with a mouse click from the Hepsia Control Panel, so even if you lack previous experience, you could use it in order to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you can use. It will take you only a click to allow APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you'll be able to set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for example, and another one may use some other accelerator and PHP 5.5.