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 could accelerate such an Internet site as much as three times. PHP websites are dynamic and whenever a user opens some page, the script connects to a database to retrieve some content, then the code is parsed and compiled prior to it being displayed to the guest. If the output code does not change however, that's the case with sites that display the very same content at all times, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse an Internet site, so the database does not need to be accessed and the program code doesn't need to be parsed and compiled continuously, which in turn reduces the website loading time. The module could be really effective for informational sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Hosting

You'll be able to employ APC for your web applications with all of the hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will begin caching the code of your apps. Our platform is very flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC just for particular Internet sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is set up on the amazing cloud web hosting platform where all semi-dedicated hosting accounts are created, so you will be able to use it whatever the package you choose. Enabling the module is done from the Hepsia Control Panel and takes just a click, so you will not need any skills or prior experience in order to take full advantage of it. As you'll be able to employ several releases of PHP concurrently, you could modify the software environment for every single site you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what release of PHP this particular site will use and whether APC should be on or off for it. These settings will have priority over those for the account in general, so you could run different scripts and take advantage of various web accelerators for Internet sites that are in the same account.