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 will boost such a website as much as three times. PHP websites are dynamic and each time a website visitor accesses some webpage, the script connects to a database to retrieve some content, then the code is parsed and compiled before it is displayed to the site visitor. In case the output code doesn't change however, which is the case with Internet sites which show the exact same content at all times, these actions trigger needless reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a site, so the database does not need to be accessed and the code doesn't need to be parsed and compiled repeatedly, that in turn reduces the website loading time. The module could be really useful for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Website Hosting

You'll be able to employ APC for your web apps with any of the shared website hosting plans that we provide since it is pre-installed on our cloud website hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel that comes with our shared plans and a few minutes later it'll start caching the code of your apps. Our platform is quite flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For instance, you could activate APC for a couple of releases of PHP for the whole account and select the version that each site can use, or you can have the same version of PHP, but enable or disable APC just 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 require the customized setup.

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 already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if needed, you can use the module only for certain sites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for the account, so you could take advantage of APC for many scripts where the module makes a difference and not for others where you can use some other kind of web accelerator.