Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very useful for scripts with large source code and can boost such an Internet site as much as three times. PHP websites are dynamic and whenever a website visitor accesses a web page, the script hooks up to a database to get some content, then the code is parsed and compiled prior to it being displayed to the website visitor. If the output code doesn't change however, that's the case with sites which display the exact same content all the time, these actions result in needless reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse a website, so the database does not need to be accessed and the code does not have to be parsed and compiled again and again, which consequently decreases the website loading time. The module can be really effective for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Hosting

You'll be able to use APC for your web applications with any of the hosting packages that we provide since it is pre-installed on our cloud web hosting platform. Activating it will take only a single click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll begin caching the code of your apps. Our platform is really flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you could activate APC for several versions of PHP for the whole account and specify the version that each Internet site can use, or you can have the exact same version of PHP, but activate or deactivate APC only for particular Internet sites. You can do this by placing a php.ini file with a line of code in the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every single script application which runs on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click in the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible due to the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can pick what release will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file permits 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 will make a difference and not for others where you can take advantage of another type of web accelerator.