APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites keep their content inside a database which is accessed whenever a visitor loads a webpage. The content which needs to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. These actions need some processing time and include reading and writing on the server for each page which is accessed. While this cannot be avoided for websites with regularly changing content material, there are many sites that present the same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant sites, etc. APC is quite useful for this type of websites because it caches the already compiled code and displays it any time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only reduce the server load, but it will also raise the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our leading-edge cloud platform, therefore you will be able to use it for your applications whatever the shared hosting
package that you choose when you join us. The module can be enabled from your Hepsia internet hosting Control Panel that is used to handle the shared accounts and only a few minutes later it'll speed up your Internet sites as it will begin caching their code. In case you would like to run sites with different system requirements or use different web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file in the preferred domain folder. In this way, you can enable or disable APC not just for a certain site without affecting the other sites in the account, but also for a certain version of PHP because our platform is compatible with multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each script application which runs on your new semi-dedicated hosting
as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a click from the Hepsia Control Panel, but if necessary, you can use the module just for certain sites. This is possible as a result of the versatility of our cloud platform - several releases 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 version will be used for this specific site 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 many scripts where the module will make a difference and not for others where you could employ a different kind of web accelerator.