Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script applications. It is very efficient for scripts with large source code and can boost such an Internet site as much as three times. PHP sites are dynamic and whenever a user accesses some web page, the script connects to a database to get some content, and then the code is parsed and compiled prior to it being displayed to the site visitor. If the output code does not change however, that's the case with sites which show identical content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse an Internet site, so the database does not have to be accessed and the code doesn't need to be parsed and compiled continuously, which consequently reduces the site loading time. The module could be rather useful for informational sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Hosting

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

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every single script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if necessary, you can use the module just for specific websites. This is possible as a result of the flexibility 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 release will be used for this specific website and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you'll be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you may use some other type of web accelerator.