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 useful for scripts with large source code and could boost such a website as much as three times. PHP websites are dynamic and any time a website visitor opens a webpage, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it is shown to the guest. If the output code doesn't change however, that's the case with websites that show the very same content all the time, such actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database doesn't need to be accessed and the code doesn't have to be parsed and compiled again and again, which in turn decreases the website loading time. The module could be really helpful for informational sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our advanced cloud platform, so you will be able to use it for your applications regardless of the shared hosting solution that you select when you sign up. The module can be activated from your Hepsia hosting Control Panel that is used to handle the shared accounts and only a few minutes later it will speed up your websites as it will start caching their code. If you would like to run Internet sites with different system requirements or employ different web accelerators for any of them, you can customize the software environment by putting a php.ini file inside the desired domain folder. In this way, you can enable or disable APC not just for a particular website 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’ll be able to use APC for every script application that is run on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes one click in the Hepsia Control Panel, but if needed, you can use the module only for certain sites. This is possible as a result of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to pick what version will be used for this specific site and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for the account, so you can take advantage of APC for some scripts where the module can make a difference and not for others where you can use a different kind of web accelerator.