Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and can speed up such a website up to 3 times. PHP sites are dynamic and whenever a user accesses a webpage, the script hooks up to a database in order to get some content, after that the code is parsed and compiled before it's shown to the website visitor. In case the output code doesn't change however, which is the case with sites that display identical content all the time, these actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it each 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 over and over again, which consequently decreases the Internet site loading time. The module can be really efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

APC is pre-installed on our state-of-the-art cloud platform, so you can use it for your web applications irrespective of the cloud hosting plan that you pick when you register. The module can be activated from the Hepsia hosting Control Panel which is used to manage the shared accounts and just several minutes later it'll boost your sites since it'll begin caching their code. If you wish to run websites with various system requirements or employ specific web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file in the preferred domain folder. In this way, you can enable or disable APC not just for a particular site without affecting the other sites in the account, but also for a particular version of PHP since our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each and every script application that is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes one click from the Hepsia Control Panel, but if necessary, you can use the module only for specific sites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can pick what version will be used for this specific Internet site and whether APC needs to be enabled or disabled. Using 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 could use another type of web accelerator.