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 useful for scripts with large source code and will accelerate such a website up to 3 times. PHP websites are dynamic and each time a website visitor accesses a web page, the script links to a database to retrieve some content, then the code is parsed and compiled before it is shown to the visitor. If the output code does not change however, that is the case with sites that show the same content all the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse an Internet site, so the database doesn't need to be accessed and the code does not have to be parsed and compiled over and over again, that in turn minimizes the website loading time. The module can be extremely helpful for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to use APC for your web apps with any of the shared hosting plans that we offer since it is pre-installed on our cloud website hosting platform. Turning it on will take only a click in the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll start caching the code of your software applications. Our platform is very flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the entire account and choose the version that each Internet site will use, or you could have the very same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom configuration.

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 made, so you could use it whatever the plan you choose. Activating the module is performed through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or prior experience to be able to take advantage of it. Since you'll be able to work with different versions of PHP concurrently, you could customize the software environment for every single site that you host in the account if needed. A php.ini file with several lines in it placed in a domain folder will enable you to set what release of PHP this specific website will use and if APC should be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run various scripts and employ various web accelerators for sites which are in the same account.