Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and can boost such a site up to 3 times. PHP sites are dynamic and every time a user opens 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 displayed to the guest. If the output code doesn't change however, which is the case with websites that show identical content all of the time, these actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database doesn't need to be accessed and the program code does not have to be parsed and compiled over and over again, that in turn reduces the Internet site loading time. The module can be quite effective for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Hosting

APC is pre-installed on our advanced cloud platform, so you will be able to use it for your web applications regardless of the hosting solution that you pick when you register. The module can be enabled from the Hepsia hosting Control Panel that is used to take care of the shared accounts and just several minutes later it will boost your Internet sites because it'll start caching their code. If you want to run websites with various system requirements or take advantage of different web accelerators for some of them, you could customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not just for a specific website without affecting the remaining websites in the account, but also for a specific version of PHP because our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every 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 created. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you could use the module just for specific sites. This is possible as a result of the versatility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to pick what version will be used for this specific Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for the account, so you'll be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you can employ a different kind of web accelerator.