Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very effective for scripts with large source code and can boost such a site up to three times. PHP sites are dynamic and each time a website visitor opens some web page, the script hooks up to a database to get some content, then the code is parsed and compiled before it's shown to the visitor. If the output code doesn't change however, which is the case with Internet sites that display the same content all of the time, such actions trigger unneeded reading and writing. What APC does is that it caches the already 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 have to be parsed and compiled repeatedly, which in turn decreases the site loading time. The module can be extremely efficient for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to employ APC for your web applications with any of the cloud hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel that is provided with our shared plans and a few minutes later it will start caching the code of your software applications. Our platform is very flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and set the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified websites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is set up on the state-of-the-art cloud web hosting platform where all semi-dedicated hosting accounts are created, so you could use it irrespective of the package you pick. Enabling the module is performed through the Hepsia Control Panel and takes just a click, so you won't need any skills or earlier experience to be able to take advantage of it. As you'll be able to employ several versions of PHP at once, you'll be able to modify the software environment for each site which you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this particular website will use and if APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run various scripts and take advantage of various web accelerators for Internet sites that are in the same account.