APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites keep their content within a database that is accessed whenever a visitor opens a page. The content which should be displayed is gathered and the code is parsed and compiled before it's delivered to the website visitor. These actions need some processing time and include reading and writing on the server for each and every page which is opened. While this can't be avoided for websites with regularly changing content material, there are various sites that offer the same content on many of their pages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for such websites as it caches the already compiled code and displays it any time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. Not only will this reduce the server load, but it will also increase the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is provided with every single cloud web hosting package that we offer and you can enable it with just a click through your Hepsia Control Panel if you'd like to use it for your web apps. A couple of minutes later the framework will be working and you'll be able to take advantage of the quicker loading speed of your database-driven sites. Since we offer several releases of PHP that could also be selected through Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so if you use an alternative web accelerator for any website and it disrupts APC, you could activate or deactivate the aforementioned for a selected site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application which runs on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a single click in the Hepsia Control Panel, but if necessary, you can use the module just for particular Internet sites. This is possible on account of the flexibility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the ones for the account, so you could take full advantage of APC for some scripts where the module can make a difference and not for others where you could use some other kind of web accelerator.