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 effective for scripts with large source code and can boost such a website up to 3 times. PHP websites are dynamic and whenever a visitor opens a web page, the script connects to a database in order to get some content, then the code is parsed and compiled before it is shown to the guest. If the output code does not change however, which is the case with Internet sites which display the exact same content all of the time, such actions trigger needless reading and writing. What APC does is that it caches the already compiled 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 repeatedly, that consequently lowers the site loading time. The module can be really effective for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Website Hosting

You will be able to employ APC for your web apps with all of the website hosting packages that we offer since it's pre-installed on our cloud website hosting platform. Enabling it will take just a single click inside the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will begin caching the code of your software apps. Our platform is really flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the whole account and pick the version that each Internet site will use, or you can have the same version of PHP, but enable or disable APC just for specific sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with our semi-dedicated hosting packages and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you lack prior experience, you will be able to use it to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you'll have flexibility with regards to the scripts and web accelerators you'll be able to employ. It will take you just a click to enable APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account in general, you could set what PHP release will be used and whether APC needs to be allowed or not. This way, one Internet site could use APC and PHP 5.3, for example, whereas another one can use another accelerator and PHP 5.5.