Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very useful for scripts with large source code and can speed up such an Internet site as much as 3 times. PHP websites are dynamic and every time a website visitor opens some webpage, the script hooks up to a database to get some content, and then the code is parsed and compiled before it's shown to the visitor. In case the output code does not change however, that's the case with websites that display the same content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it each time visitors browse an Internet site, so the database doesn't have to be accessed and the program code doesn't have to be parsed and compiled repeatedly, that in turn decreases the Internet site loading time. The module can be rather effective for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single cloud website hosting
package that we offer as it's already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our system is really flexible, you'll be able to run websites with various system requirements and decide if they will work with APC or not. For example, you can enable APC only for a single version of PHP or you can do the latter for several of the versions that run on the platform. In addition, you can choose if all websites working with a given PHP version will use APC or whether the latter will be enabled only for selected websites and not for all websites in the web hosting account. The aforementioned option is useful if you intend to employ a different web accelerator for some of your Internet sites. These customizations are done effortlessly via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each script application that runs on your new semi-dedicated server
as the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if needed, you could use the module just for particular sites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this specific site and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for your account, so you will be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you could use some other kind of web accelerator.