APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP sites hold their content within a database which is accessed whenever a visitor loads a page. The content that needs to be displayed is retrieved and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and involve reading and writing on the server for each and every page which is opened. While this cannot be avoided for websites with regularly changing content material, there're various sites which offer the very same content on a number of of their webpages all the time - blogs, informational portals, hotel and restaurant websites, and many others. APC is really useful for this kind of sites because it caches the previously compiled code and shows it whenever visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. This will not only reduce the server load, but it'll also increase the speed of any website several times.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can employ APC for your web applications with any of the cloud website hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll start caching the program code of your apps. Our platform is quite flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and select the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for particular Internet sites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each and every script application which is run on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if needed, you could use the module just for certain Internet sites. This is possible as a result of the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you will be able to choose what version will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you could take advantage of APC for many scripts where the module can make a difference and not for others where you could employ a different kind of web accelerator.