APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP websites save their content inside a database that is accessed whenever a visitor loads a webpage. The content which has to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions take some processing time and involve reading and writing on the server for every single page which is opened. While this can't be avoided for Internet sites with constantly changing content, there are many websites which present the very same content on a number of of their pages constantly - blogs, informational portals, hotel and restaurant sites, and many others. APC is quite useful for this type of websites since it caches the previously compiled code and displays it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. Not only will this reduce the server load, but it will also raise the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Website Hosting

You can employ APC for your web apps with any of the website hosting packages that we provide 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 is provided with our shared solutions and several minutes later it'll start 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 your scripts. For example, you'll be able to activate APC for several releases of PHP for the entire account and pick the version that each Internet site can use, or you could have the very same version of PHP, but activate or deactivate APC only for specific sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server packages and activating this framework is done with a click from the Hepsia Control Panel, so even if you lack previous experience, you will be able to use it in order to accelerate your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you'll be able to employ. It will take you only a click to activate APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you could set what PHP release will be used and whether APC needs to be allowed or not. This way, one site could use APC and PHP 5.3, for example, while another one could use another accelerator and PHP 5.5.