Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and could accelerate such a site up to three times. PHP sites are dynamic and each time a user opens a web page, the script links to a database in order to retrieve some content, and then the code is parsed and compiled before it is displayed to the visitor. In case the output code doesn't change however, which is the case with Internet sites which display the very same content all of the time, these actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse an Internet site, so the database does not need to be accessed and the program code doesn't have to be parsed and compiled again and again, which in turn reduces the website loading time. The module can be pretty efficient for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with every single web hosting
plan that we provide because it's already installed on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. As our platform is really flexible, you can run websites with various system requirements and decide if they will work with APC or not. For example, you can allow APC only for a single version of PHP or you can do the latter for several of the versions that run on our platform. You may also choose if all websites using a certain PHP version will use APC or if the latter will be active only for selected Internet sites and not for all sites in the web hosting account. The last option is useful if you need to employ a different web accelerator for some of your Internet sites. These customizations are carried out effortlessly through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that runs on your new semi-dedicated server
since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a single click in the Hepsia Control Panel, but if needed, you could use the module just for specific sites. This is possible because of the flexibility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to choose what release 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 that are different from the standard ones for your account, so you will be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you could take advantage of a different type of web accelerator.