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 inside a database which is accessed whenever a visitor opens a page. The content which should be shown is gathered and the code is parsed and compiled before it is delivered to the site visitor. All of these actions take some processing time and involve reading and writing on the server for each and every page that is accessed. While this can't be avoided for Internet sites with constantly changing content, there are various websites which feature the exact same content on a lot of of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this type of sites because it caches the previously compiled code and displays it any time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only reduce the server load, but it'll also raise the speed of any site a few times.
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our leading-edge cloud platform, so you can use it for your web applications regardless of the hosting package that you select when you register. The module can be activated from the Hepsia web hosting Control Panel that is used to maintain the shared accounts and only a few minutes later it will speed up your sites as it will begin caching their code. If you wish to run websites with different system requirements or employ different web accelerators for some of them, you can customize the software environment by placing a php.ini file inside the desired domain folder. In this way, you can enable or disable APC not just for a certain Internet site without affecting the other Internet sites in the account, but also for a certain version of PHP as our platform is compatible with multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server solutions and activating the framework is performed with a click inside the Hepsia Control Panel, so even if you lack previous experience, you can use it to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you can employ. It will take you only a click to allow 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 which are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC should be allowed 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.