APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites keep their content in a database that is accessed whenever a visitor opens a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the website visitor. These actions need some processing time and require reading and writing on the hosting server for each page that is accessed. While this can't be avoided for Internet sites with constantly changing content, there are many websites which offer the very same content on a lot of of their pages at all times - blogs, informational portals, hotel and restaurant websites, etc. APC is exceptionally useful for this type of websites as it caches the already compiled code and shows it each time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it will also increase the speed of any site many times.

APC (PHP Opcode Cache) in Web Hosting

APC is pre-installed on our advanced cloud platform, therefore you can use it for your web applications regardless of the web hosting solution that you select when you register. The module can be enabled from the Hepsia hosting Control Panel that is used to handle the shared accounts and just a couple of minutes later it'll speed up your websites since it will begin caching their program code. In case you want to run Internet sites with various system requirements or employ different web accelerators for some of them, you could customize the software environment by putting a php.ini file in the preferred domain folder. Thus, you can enable or disable APC not just for a particular site without affecting the remaining websites in the account, but also for a specific version of PHP because our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for every single script application that runs on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a click in the Hepsia Control Panel, but if needed, you could use the module just for certain websites. This is possible as a result of the versatility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular Internet site and whether APC should be enabled or disabled. Employing such a file permits 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 employ a different kind of web accelerator.