APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites hold their content within a database that is accessed whenever a visitor loads a page. The content that should be shown is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions take some processing time and include reading and writing on the hosting server for each page which is loaded. While this cannot be avoided for sites with regularly changing content material, there are many Internet sites which offer the very same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is very useful for this type of websites as it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code doesn't need to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it'll also increase the speed of any website several times.
APC (PHP Opcode Cache) in Website Hosting
You will be able to employ APC for your web applications with all of the website hosting packages that we provide as it's pre-installed on our cloud website hosting platform. Enabling it will take only a click inside the Hepsia Control Panel which comes with our shared plans and a few minutes later it will start caching the code of your applications. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and set the version that each Internet site will use, or you can have the very same version of PHP, but enable or disable APC only for particular Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all of our semi-dedicated hosting solutions and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even if you lack prior experience, you'll be able to use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could use. It will take you only a click to enable APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC has to be allowed or not. This way, one site could use APC and PHP 5.3, for instance, and another one may use some different accelerator and PHP 5.5.