Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very useful for scripts with large source code and will boost such a website as much as 3 times. PHP sites are dynamic and whenever a visitor accesses some webpage, the script connects to a database to get some content, then the code is parsed and compiled prior to it being shown to the guest. In case the output code doesn't change however, that's the case with websites that display the exact same content at all times, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a website, so the database does not need to be accessed and the program code doesn't need to be parsed and compiled again and again, which consequently decreases the website loading time. The module can be really effective for informational sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Web Hosting

You'll be able to employ APC for your web apps with any of the web hosting packages that we provide because it's pre-installed on our cloud website hosting platform. Enabling it will take only a click in the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll begin caching the code of your software apps. Our platform is extremely flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you will be able to activate APC for several releases of PHP for the whole account and select the version that each website will use, or you could have the exact same version of PHP, but enable or disable APC only for specified websites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every single script application which runs on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes one click inside the Hepsia Control Panel, but if necessary, you could use the module only for particular Internet sites. This is possible as a result of the flexibility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what version will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the account, so you can take advantage of APC for many scripts where the module can make a difference and not for others where you could employ some other type of web accelerator.