APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP sites hold their content in a database which is accessed whenever a visitor loads a webpage. The content that needs to be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. These actions take some processing time and include reading and writing on the server for every single page that is accessed. While this cannot be avoided for Internet sites with constantly changing content material, there're various websites that feature the same content on a number of of their pages all of the time - blogs, info portals, hotel and restaurant websites, and many others. APC is very useful for this type of sites as it caches the already compiled code and displays it each time visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this greatly reduce the server load, but it will also increase the speed of any Internet site many times.
APC (PHP Opcode Cache) in Website Hosting
You can employ APC for your web applications with any of the website hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Activating it will take only a single click in the Hepsia Control Panel which comes with our shared solutions and a couple of 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 depending on the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the entire account and pick the version that each website can use, or you can have the same version of PHP, but enable or disable APC just for particular websites. You can do this by placing a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our semi-dedicated server solutions and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it in order to boost your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you can employ. It will take you just a click to enable 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 that are not the same as the ones for the account in general, you could set what PHP version will be used and whether APC has to be enabled or not. In this way, one website could use APC and PHP 5.3, for instance, and another one could use some other accelerator and PHP 5.5.