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 efficient for scripts with large source code and could accelerate such a website up to three times. PHP sites are dynamic and any time a visitor accesses a web page, the script links to a database to get some content, then the code is parsed and compiled prior to it being shown to the visitor. In case the output code does not change however, which is the case with sites which show the very same content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse an Internet site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled continuously, which in turn lowers the website loading time. The module could be very helpful for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Web Hosting

You will be able to employ APC for your web applications with all of the shared web hosting packages that we offer as it's pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it will begin caching the program code of your applications. Our platform is very flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for several releases of PHP for the entire account and set the version that each Internet site can use, or you could have the exact same version of PHP, but enable or disable APC just for specific websites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with all our semi-dedicated hosting solutions and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you have no previous experience, you'll be able to use it in order to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you will be able to use. It will take you only a click to allow APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC has to be allowed or not. In this way, one website may use APC and PHP 5.3, for example, and another one could use a different accelerator and PHP 5.5.