Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and can accelerate such a site as much as three times. PHP sites are dynamic and every time a user opens some webpage, the script connects to a database to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the site visitor. In case the output code does not change however, that is the case with Internet sites that show the very same content all the time, such 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 site, so the database does not have to be accessed and the program code does not need to be parsed and compiled continuously, which consequently reduces the website loading time. The module could be rather efficient for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web applications with all of the shared hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll start caching the program code of your apps. Our platform is rather flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and select the version that each Internet site can use, or you can have the very same version of PHP, but activate or deactivate APC just for specific sites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application which is run on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if needed, you could use the module just for particular websites. This is possible due to the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you'll be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you may employ a different kind of web accelerator.