APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites hold their content inside a database that is accessed whenever a visitor opens a webpage. The content which needs to be displayed is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions need some processing time and include reading and writing on the server for every single page which is opened. While this can't be avoided for websites with regularly changing content, there are numerous Internet sites which present the exact same content on many of their pages all of the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is very useful for such sites because it caches the already compiled code and displays it whenever 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 boost the speed of any site several times.
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each shared hosting
plan that we offer and you could activate it with just a click through your Hepsia Control Panel if you want to use it for your applications. A couple of minutes later the framework will be working and you will experience the considerably quicker loading speed of your database-driven Internet sites. As we provide different releases of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP in the same account. Our high tech cloud web hosting platform is very adaptable, so if you use a different web accelerator for any Internet site and it interferes with APC, you will be able to activate or deactivate the aforementioned for a specific site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server
packages and activating this framework is done with a click in the Hepsia Control Panel, so even when you lack prior experience, you will be able to use it to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you will be able to use. It will take you only 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 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 allowed or not. This way, one Internet site can use APC and PHP 5.3, for instance, and another one can use a different accelerator and PHP 5.5.