APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites store their content within a database which is accessed whenever a visitor loads a page. The content that needs to be shown is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All these actions take some processing time and require reading and writing on the hosting server for each page that is loaded. While this cannot be avoided for sites with constantly changing content material, there're various sites that offer the very same content on many of their pages at all times - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is extremely useful for such Internet sites since it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. This will not only lower the server load, but it will also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Web Hosting
APC is provided with each web hosting solution that we offer and you could activate it with only a click through your Hepsia Control Panel if you wish to use it for your applications. Several minutes later the framework will be active and you'll be able to take advantage of the considerably quicker loading speed of your database-driven Internet sites. Since we offer different versions of PHP that can also be selected through Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the very same account. Our advanced cloud web hosting platform is extremely flexible, so in case you use an alternative web accelerator for any Internet site and it disrupts APC, you will be able to activate or deactivate the latter 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 can use APC for each 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 takes a click in the Hepsia Control Panel, but if necessary, you could use the module just for certain websites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it at the same time, 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 needs to be enabled or disabled. Using such a file allows you to use settings which are different from the ones for the account, so you can take full advantage of APC for many scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.