APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites save their content inside a database that is accessed whenever a visitor opens a page. The content which needs to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions take some processing time and include reading and writing on the web server for each and every page which is loaded. While this cannot be avoided for Internet sites with regularly changing content, there're numerous websites that feature the same content on a lot of of their pages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is exceptionally useful for such websites as it caches the already compiled code and displays it whenever visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it'll also increase the speed of any site many times.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to employ APC for your web applications with all of the shared hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Enabling it will take just a click inside the Hepsia Control Panel which comes with our shared plans and several minutes later it will start caching the program code of your applications. Our platform is rather flexible, so you'll be able to use several configurations in accordance with the system requirements of the scripts. For instance, you could activate APC for several releases of PHP for the whole account and pick the version that each website can use, or you could have the very same version of PHP, but enable or disable APC only for specific sites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all our semi-dedicated hosting packages and activating this framework is done with a click in the Hepsia Control Panel, so even if you lack previous experience, you will be able to use it in order to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you will be able to employ. It will take you only a click to enable APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be allowed or not. In this way, one website may use APC and PHP 5.3, for instance, and another one can use another accelerator and PHP 5.5.