Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and can accelerate such a site as much as three times. PHP websites are dynamic and every time a visitor accesses some webpage, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code does not change however, that's the case with sites which display the very same content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse an Internet site, so the database does not have to be accessed and the code does not have to be parsed and compiled over and over again, which consequently decreases the Internet site loading time. The module could be quite effective for informational sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web apps with any of the shared hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Activating it will take only a single click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll start caching the code of your software apps. Our platform is quite flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and choose the version that each Internet site will use, or you could have the very same version of PHP, but enable or disable APC just for particular sites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application which is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click in the Hepsia Control Panel, but if necessary, you could use the module just for certain Internet sites. This is possible because of the versatility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you may use some other kind of web accelerator.