Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very useful for scripts with large source code and can accelerate such a website up to 3 times. PHP websites are dynamic and every time a user opens a page, the script links to a database in order to get some content, after that the code is parsed and compiled before it's shown to the guest. In case the output code does not change however, which is the case with Internet sites that display the very same content all of the time, these actions result in needless reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a website, so the database doesn't have to be accessed and the code does not need to be parsed and compiled again and again, which consequently minimizes the site loading time. The module could be extremely useful for informational websites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Web Hosting

APC is pre-installed on our leading-edge cloud platform, therefore you will be able to use it for your applications irrespective of the web hosting package that you select when you join us. The module can be enabled through the Hepsia internet hosting Control Panel that is used to handle the shared accounts and only a couple of minutes later it will speed up your Internet sites as it'll start caching their code. In case you would like to run Internet sites with different system requirements or use specific web accelerators for any of them, you'll be able to customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not only for a specific Internet site without affecting the remaining sites in the account, but also for a specific version of PHP since our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for every single script application that runs on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires a click from the Hepsia Control Panel, but if needed, you could use the module only for particular sites. This is possible because of the flexibility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for some scripts where the module can make a difference and not for others where you may use a different type of web accelerator.