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 useful for scripts with large source code and can accelerate such an Internet site up to 3 times. PHP sites are dynamic and any time a visitor opens a page, the script links to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the website visitor. If the output code doesn't change however, that is the case with sites that display the exact same content all of the time, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse a website, so the database does not need to be accessed and the code doesn't have to be parsed and compiled over and over again, which consequently decreases the Internet site loading time. The module can be very useful for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is pre-installed on our state-of-the-art cloud platform, which means that you can use it for your web applications whatever the shared web hosting solution that you pick when you sign up. The module can be activated through the Hepsia hosting Control Panel that is used to manage the shared accounts and only a couple of minutes later it will speed up your Internet sites since it'll begin caching their program code. If you would like to run sites with different system requirements or employ different web accelerators for any of them, you could customize the software environment by placing a php.ini file inside the preferred domain folder. Thus, you can enable or disable APC not just for a specific Internet site without affecting the other Internet sites in the account, but also for a particular version of PHP because our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every single script application that is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click inside the Hepsia Control Panel, but if necessary, you can use the module only for certain Internet sites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can pick 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 that are different from the standard ones for your account, so you will be able to take full advantage of APC for many scripts where the module makes a difference and not for others where you can take advantage of a different kind of web accelerator.