APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites hold their content inside a database which is accessed whenever a visitor loads a webpage. The content which has to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All these actions need some processing time and include reading and writing on the hosting server for every single page that is loaded. While this can't be avoided for sites with regularly changing content, there are numerous websites which have the same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is extremely useful for such websites since it caches the previously compiled code and displays it when visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only reduce the server load, but it will also raise the speed of any website many times.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to use APC for your web apps with all of the shared hosting packages that we offer since it is pre-installed on our cloud web hosting platform. Activating it will take only a mouse click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll start caching the program code of your software applications. Our platform is very flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and set the version that each site can use, or you can have the same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done 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 Servers

You can take full advantage of APC with all our semi-dedicated server packages and activating this framework is performed with a click in the Hepsia Control Panel, so even when you have no previous experience, you will be able to use it in order to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you can employ. It will take you only a click to activate APC for one or a couple of 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 can set what PHP release will be used and whether APC needs to be allowed or not. In this way, one website could use APC and PHP 5.3, for example, while another one can use some different accelerator and PHP 5.5.