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 efficient for scripts with large source code and could boost such an Internet site up to three times. PHP sites are dynamic and each time a visitor accesses some page, the script connects to a database to retrieve some content, after that the code is parsed and compiled before it's shown to the site visitor. In case the output code does not change however, which is the case with sites which show the very same content all of the time, such actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse a site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled continuously, which consequently lowers the website loading time. The module can be pretty useful for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each website hosting
package that we provide as it's already installed on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. Since our system is rather flexible, you can run sites with different requirements and decide whether they will work with APC or not. For example, you could activate APC only for one release of PHP or you could do the latter for several of the versions that run on our platform. In addition, you can choose if all websites using a given PHP version will use APC or if the latter will be enabled only for selected sites and not for all sites in the web hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for some of your Internet sites. These customizations are carried out without any difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated server
accounts are created, so you will be able to employ it whatever the plan you pick. Enabling the module is done through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or previous experience to be able to take advantage of it. As you will be able to work with several versions of PHP simultaneously, you could modify the software environment for every single website which you host in the account if required. A php.ini file with a few lines in it placed in a domain folder will permit you to set what version of PHP this particular site will use and whether APC needs to be on or off for it. These settings will have priority over the ones for the account in general, so you can run various scripts and take advantage of different web accelerators for Internet sites that are in the same account.