Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very useful for scripts with large source code and can accelerate such an Internet site as much as 3 times. PHP sites are dynamic and each time a user accesses a page, the script hooks up to a database in order to retrieve some content, then the code is parsed and compiled before it's shown to the guest. In case the output code doesn't change however, that's the case with sites which show the exact same content all of the time, such actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it whenever visitors browse a site, so the database does not need to be accessed and the program code doesn't need to be parsed and compiled continuously, which in turn minimizes the site loading time. The module can be very helpful for informational Internet sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Website Hosting

APC is pre-installed on our advanced cloud platform, which means that you'll be able to use it for your web applications regardless of the cloud website hosting package that you choose when you register. The module can be enabled from your Hepsia hosting Control Panel which is used to take care of the shared accounts and just several minutes later it'll speed up your websites because it'll start caching their code. If you wish to run sites with different system requirements or use specific web accelerators for any of them, you can customize the software environment by putting a php.ini file inside the desired domain folder. This way, you can enable or disable APC not just for a particular Internet site without affecting the other Internet sites in the account, but also for a specific version of PHP since our platform is compatible with multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application which runs on your new semi-dedicated server 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 requires a click from the Hepsia Control Panel, but if necessary, you can use the module only for certain websites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this particular Internet site and whether APC should be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for your account, so you could take advantage of APC for some scripts where the module will make a difference and not for others where you could employ a different type of web accelerator.