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 inside a database which is accessed whenever a visitor loads a page. The content which should be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All of these actions take some processing time and involve reading and writing on the server for each page which is loaded. While this can't be avoided for sites with regularly changing content material, there are many Internet sites that offer the exact same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is extremely useful for such websites because 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 greatly reduce the server load, but it will also increase the speed of any site many times.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is pre-installed on our leading-edge cloud platform, therefore you can use it for your applications whatever the cloud web hosting package that you pick when you sign up. The module can be activated through the Hepsia hosting Control Panel which is used to maintain the shared accounts and just a few minutes later it will boost your websites because it'll begin caching their program code. In case you would like to run Internet sites with different system requirements or take advantage of specific web accelerators for any of them, you could customize the software environment by placing a php.ini file inside the preferred domain folder. Thus, you can enable or disable APC not just for a specific Internet site without affecting the remaining sites in the account, but also for a particular version of PHP as our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires one click from the Hepsia Control Panel, but if necessary, you can use the module only for particular sites. This is possible due to the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to select what release will be used for this specific site and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for your account, so you'll be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you can take advantage of another kind of web accelerator.