APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites save their content inside a database which is accessed whenever a visitor loads a webpage. The content that has to be shown is retrieved and the code is parsed and compiled before it is delivered to the visitor. All of these actions take some processing time and include reading and writing on the hosting server for each and every page which is loaded. While this cannot be avoided for sites with regularly changing content, there are many sites which offer the exact same content on many of their pages at all times - blogs, informational portals, hotel and restaurant sites, etc. APC is quite useful for this kind of sites as it caches the already compiled code and displays it every time visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. Not only will this minimize the server load, but it'll also boost the speed of any website a few times.
APC (PHP Opcode Cache) in Hosting
You'll be able to use APC for your web apps with all of the hosting packages that we offer because it's pre-installed on our cloud website hosting platform. Enabling it will take just a single click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll begin caching the code of your apps. Our platform is rather flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and set the version that each Internet site will use, or you could have the exact same version of PHP, but activate or deactivate APC only for particular sites. You can do this by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with our semi-dedicated hosting plans and activating this framework is performed with a click in the Hepsia Control Panel, so even when you don't have any prior experience, you'll be able to use it in order to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you'll be able to use. It will take you just a click to activate APC for one or several 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 in general, you'll be able to set what PHP release will be used and whether APC has to be enabled or not. This way, one Internet site could use APC and PHP 5.3, for instance, and another one can use a different accelerator and PHP 5.5.