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 effective for scripts with large source code and could accelerate such a site as much as 3 times. PHP sites are dynamic and whenever a website visitor accesses a web page, the script links to a database to retrieve some content, after that the code is parsed and compiled before it is shown to the visitor. In case the output code doesn't change however, which is the case with Internet sites which display identical content at all times, these actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a site, so the database does not need to be accessed and the code does not have to be parsed and compiled repeatedly, that consequently decreases the Internet site loading time. The module could be pretty efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web applications with any of the cloud hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll start caching the program code of your applications. Our platform is quite flexible, so you will be able to use different configurations based on the system requirements of your scripts. For example, you could activate APC for several releases of PHP for the whole account and set the version that each site can use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application that runs on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click inside the Hepsia Control Panel, but if needed, you could use the module only for certain sites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, 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 should be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you can use a different type of web accelerator.