APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites save their content in a database which is accessed whenever a visitor opens a webpage. The content that has to be displayed is gathered and the code is parsed and compiled before it is delivered to the website visitor. These actions need some processing time and require reading and writing on the web server for each page which is opened. While this cannot be avoided for sites with constantly changing content, there are a lot of websites that feature the same content on a lot of of their pages at all times - blogs, info portals, hotel and restaurant sites, etcetera. APC is quite useful for such sites as it caches the already compiled code and shows it whenever visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. Not only will this minimize the server load, but it'll also increase the speed of any website several times.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web applications with all of the cloud hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it'll begin caching the program code of your software apps. Our platform is rather flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the entire account and select the version that each website will use, or you could have the very same version of PHP, but activate or deactivate APC just for specified websites. You can do this by putting 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 use APC with all our semi-dedicated hosting packages and activating this framework is performed with a mouse click inside the Hepsia Control Panel, so even when you don't have any prior experience, you will be able to use it in order to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you can employ. It will take you just a click to allow 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 not the same as the ones for the account in general, you'll be able to set what PHP version will be used and whether APC needs to be allowed or not. In this way, one site may use APC and PHP 5.3, for example, whereas another one can use another accelerator and PHP 5.5.