Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and can speed up such a site as much as three times. PHP sites are dynamic and any time a website visitor opens a page, the script links to a database in order to get some content, and then the code is parsed and compiled before it's displayed to the visitor. In case the output code doesn't change however, that is the case with Internet sites that display the very same content at all times, these actions trigger unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database doesn't have to be accessed and the code doesn't need to be parsed and compiled repeatedly, that consequently minimizes the Internet site loading time. The module could be quite efficient for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Web Hosting

You will be able to employ APC for your web apps with any of the web hosting packages that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will start caching the code of your apps. Our platform is quite flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the entire account and pick the version that each site can use, or you could have the very same version of PHP, but enable or disable APC only for specific websites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application that runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes a click inside the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible as a result of the versatility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can pick what version will be used for this particular Internet site and whether APC should be enabled or disabled. Using such a file allows 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 makes a difference and not for others where you could employ some other type of web accelerator.