Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very useful for scripts with large source code and could accelerate such a website up to three times. PHP websites are dynamic and whenever a user accesses a web page, the script links to a database in order to retrieve some content, then the code is parsed and compiled prior to it being displayed to the website visitor. If the output code does not change however, that's the case with websites which display the exact same content all the time, such actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it any 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, that in turn lowers the site loading time. The module can be quite useful for informational Internet sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Shared Hosting
APC is available with each shared hosting
solution that we offer and you can activate it with just a click from your Hepsia Control Panel if you'd like to use it for your applications. Several minutes later the framework will be working and you'll experience the considerably quicker loading speed of your database-driven websites. Since we provide several versions of PHP which could also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP in the same account. Our high tech cloud hosting platform is very flexible, so in case you use a different web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the aforementioned for a particular site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application that runs on your new semi-dedicated server
as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires a click in the Hepsia Control Panel, but if needed, you could use the module only for specific websites. This is possible because of the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to pick what release will be used for this specific website and whether APC needs to be enabled or disabled. Using such a file enables you to use settings which are different from the standard 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 could use another kind of web accelerator.