APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP websites hold their content in a database that is accessed whenever a visitor opens a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and involve reading and writing on the server for every single page that is loaded. While this can't be avoided for sites with regularly changing content material, there are many sites which present the same content on a lot of of their pages constantly - blogs, info portals, hotel and restaurant sites, and many others. APC is really useful for this type of Internet sites as it caches the previously compiled code and shows it every time visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. This will not only minimize the server load, but it will also boost the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Website Hosting
APC is pre-installed on our cutting-edge cloud platform, therefore you'll be able to use it for your web applications regardless of the website hosting solution that you select when you sign up. The module can be enabled from the Hepsia web hosting Control Panel which is used to take care of the shared accounts and only several minutes later it will boost your websites as it'll start caching their program code. In case you would like to run sites with different system requirements or use different web accelerators for some of them, you will be able to customize the software environment by putting a php.ini file in the preferred domain folder. This way, you can enable or disable APC not just for a certain Internet site without affecting the other websites in the account, but also for a specific version of PHP because our platform supports multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with our semi-dedicated hosting plans and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even if you don't have any previous experience, you can use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you can employ. It will take you only a click to activate APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one site may use APC and PHP 5.3, for example, while another one can use another accelerator and PHP 5.5.