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 useful for scripts with large source code and will accelerate such a website as much as 3 times. PHP sites are dynamic and whenever a user opens some webpage, 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 website visitor. If the output code doesn't change however, which is the case with Internet sites that show the very same content at all times, such actions result in excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse a website, so the database does not need to be accessed and the code doesn't have to be parsed and compiled over and over again, that consequently reduces the site loading time. The module could be pretty efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Website Hosting

You will be able to use APC for your web apps with any of the shared website hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take just a click in the Hepsia Control Panel which comes with our shared plans and several minutes later it'll start caching the code of your software apps. Our platform is quite flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and select the version that each Internet site will use, or you can have the very same version of PHP, but enable or disable APC just for specific Internet sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for every single script application which runs on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if needed, you can use the module just for particular sites. This is possible as a result of the versatility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to pick what version will be used for this particular Internet site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for your account, so you could take advantage of APC for a lot of scripts where the module can make a difference and not for others where you could use a different kind of web accelerator.