Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script apps. It is very effective for scripts with large source code and will speed up such a site up to three times. PHP websites are dynamic and whenever a user accesses some webpage, the script connects to a database to retrieve some content, after that the code is parsed and compiled before it is displayed to the guest. In case the output code does not change however, which is the case with sites that display the very same content at all times, such actions trigger unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database does not need to be accessed and the program code does not have to be parsed and compiled continuously, that consequently reduces the website loading time. The module can be quite effective for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud 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 cloud hosting solution that you select when you join us. The module can be activated from your Hepsia web hosting Control Panel which is used to maintain the shared accounts and just several minutes later it will speed up your Internet sites since it'll begin caching their code. In case you want to run websites with different system requirements or take advantage of specific web accelerators for some of them, you can customize the software environment by putting a php.ini file inside the desired domain folder. In this way, you could enable or disable APC not only for a specific site without affecting the remaining Internet sites in the account, but also for a specific version of PHP as our platform is compatible with multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every 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 whole account takes a click inside the Hepsia Control Panel, but if needed, you could use the module only for certain websites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can choose what version will be used for this particular Internet site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module will make a difference and not for others where you could take advantage of some other type of web accelerator.