APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites save their content in a database which is accessed whenever a visitor opens a webpage. The content which has to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. All these actions take some processing time and involve reading and writing on the server for every single page that is opened. While this can't be avoided for sites with constantly changing content material, there are a lot of Internet sites that present the same content on many of their webpages at all times - blogs, informational portals, hotel and restaurant websites, etc. APC is very useful for this kind of sites because it caches the previously compiled code and shows it when visitors browse the cached webpages, so the code doesn't have to be parsed and compiled again. This will not only reduce the server load, but it will also boost the speed of any website many times.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is provided with every single shared web hosting plan that we offer and you could enable it with only a click from your Hepsia Control Panel if you would like to use it for your applications. A couple of minutes later the framework will be active and you will be able to take advantage of the considerably faster loading speed of your database-driven Internet sites. Since we provide different versions of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts that need different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so in case you use another web accelerator for any website and it disrupts APC, you'll be able to activate or deactivate the aforementioned for a specific site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if necessary, you could use the module only for specific sites. This is possible as a result of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to choose what release will be used for this particular website and whether APC should 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 can take full advantage of APC for some scripts where the module will make a difference and not for others where you may use a different type of web accelerator.