APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP websites keep their content in a database which is accessed whenever a visitor opens a webpage. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the site visitor. These actions take some processing time and require reading and writing on the web server for each page that is opened. While this cannot be avoided for Internet sites with constantly changing content, there are a lot of sites that offer the exact same content on a lot of of their pages at all times - blogs, informational portals, hotel and restaurant websites, etcetera. APC is extremely useful for such websites as it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this decrease the server load, but it will also boost the speed of any site several times.

APC (PHP Opcode Cache) in Hosting

APC is provided with each and every hosting package that we offer and you could enable it with just a click from 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 will be able to take advantage of the quicker loading speed of your database-driven Internet sites. Since we provide different versions of PHP which can also be selected through Hepsia, you'll even be able to to use APC for scripts which need different versions of PHP in the same account. Our advanced cloud hosting platform is very flexible, so in case you use an alternative web accelerator for any Internet site and it disrupts APC, you'll be able to activate or deactivate the latter for a certain site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each and every script application that runs on your new semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires one click in the Hepsia Control Panel, but if needed, you could use the module just for particular Internet sites. This is possible because of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this particular site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you could use another type of web accelerator.