APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites hold their content in a database that is accessed whenever a visitor opens a webpage. The content which has to be viewed is gathered and the code is parsed and compiled before it's delivered to the visitor. These actions take some processing time and include reading and writing on the web server for every single page that is accessed. While this cannot be avoided for Internet sites with constantly changing content, there're many sites which feature the same content on a lot of of their pages at all times - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is quite useful for such sites since it caches the already compiled code and shows it each time visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this decrease the server load, but it'll also raise the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to use APC for your web applications with all of the cloud website hosting packages that we provide as it is pre-installed on our cloud website hosting platform. Activating it will take just a click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will start caching the program code of your 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 could activate APC for several releases of PHP for the entire account and set the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular websites. This is done by placing 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 use APC with all our semi-dedicated hosting plans and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you have no previous experience, you could use it to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you will be able to employ. It will take you just a click to enable APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you'll be able to set what PHP version 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 instance, while another one can use another accelerator and PHP 5.5.