APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP sites hold their content inside a database that is accessed whenever a visitor opens a page. The content that should be viewed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions need some processing time and require reading and writing on the hosting server for every single page that is opened. While this cannot be avoided for Internet sites with regularly changing content material, there are many Internet sites that offer the exact same content on a lot of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, etc. APC is extremely useful for this type of websites as it caches the previously compiled code and displays it every time visitors browse the cached webpages, so the code does not need to be parsed and compiled again. Not only will this lower the server load, but it will also boost the speed of any website a few times.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to employ APC for your web applications with any of the cloud website hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it'll begin caching the program code of your applications. Our platform is really flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For example, you could activate APC for several releases of PHP for the whole account and pick the version that each Internet site will use, or you could have the exact same version of PHP, but activate or deactivate APC just for specified websites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every script application which is run on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a single click from the Hepsia Control Panel, but if necessary, you can use the module only for certain websites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to pick what version will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you can take advantage of a different type of web accelerator.