Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and could boost such a website as much as three times. PHP websites are dynamic and whenever a user opens some web page, the script links to a database to get some content, and then the code is parsed and compiled before it's shown to the guest. If the output code does not change however, that's the case with websites which show identical content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse a site, so the database does not need to be accessed and the program code does not need to be parsed and compiled over and over again, that in turn minimizes the website loading time. The module could be very effective for informational Internet sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Website Hosting

You'll be able to employ APC for your web applications with all of the cloud website hosting plans that we provide because it's pre-installed on our cloud web hosting platform. Turning it on will take just a click in the Hepsia Control Panel that comes with our shared solutions and a few minutes later it'll start caching the program code of your software applications. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For instance, you can activate APC for several versions of PHP for the entire account and specify the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specific websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application which is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires one click from 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 site folder, you will be able to choose what version will be used for this specific site and whether APC has to be enabled or disabled. Using such a file allows you to use settings which are different from the ones for your account, so you can take full advantage of APC for some scripts where the module can make a difference and not for others where you may take advantage of some other type of web accelerator.