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 effective for scripts with large source code and could speed up such a site up to three times. PHP websites are dynamic and whenever a visitor accesses some web page, the script hooks up to a database in order to get some content, after that the code is parsed and compiled prior to it being shown to the guest. If the output code doesn't change however, that's the case with Internet sites that show the exact same content all of the time, these actions result in needless reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse an Internet site, so the database does not need to be accessed and the program code does not need to be parsed and compiled continuously, which in turn lowers the Internet site loading time. The module could be quite effective for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Web Hosting

You'll be able to employ APC for your web apps with any of the shared web hosting packages that we offer because it's pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it will start caching the code of your software applications. Our platform is very flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For instance, you could activate APC for several releases of PHP for the whole account and set the version that each website can use, or you could have the 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 program code inside the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each script application that is run on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if necessary, you can use the module just for specific sites. This is possible as a result of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can select what release will be used for this particular website 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 could take full advantage of APC for some scripts where the module can make a difference and not for others where you can employ another type of web accelerator.