APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP sites keep their content within a database which is accessed whenever a visitor loads a page. The content that needs to be shown is gathered and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and include reading and writing on the web server for each and every page which is accessed. While this cannot be avoided for sites with regularly changing content material, there're many websites that offer the same content on many of their webpages all the time - blogs, info portals, hotel and restaurant websites, and many others. APC is very useful for this type of websites since it caches the previously compiled code and displays it each time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled again. This will not only decrease the server load, but it'll also increase the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Cloud Web Hosting

You will be able to use APC for your web applications with all of the cloud web hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will begin caching the program code of your apps. Our platform is rather flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you will be able to activate APC for several releases of PHP for the whole account and choose the version that each site can use, or you can have the same version of PHP, but enable or disable APC just for particular websites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every single script application which is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a single click inside the Hepsia Control Panel, but if necessary, you could use the module only for certain sites. This is possible because 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 can choose what release 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 that are different from the ones for your account, so you can take advantage of APC for a lot of scripts where the module makes a difference and not for others where you may use some other kind of web accelerator.