APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites keep their content in a database that is accessed whenever a visitor loads a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All of these actions need some processing time and require reading and writing on the hosting server for each page that is opened. While this can't be avoided for websites with regularly changing content material, there are a lot of sites that offer the exact same content on many of their pages constantly - blogs, informational portals, hotel and restaurant websites, etc. APC is extremely useful for this type of Internet sites as it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it will also raise the speed of any site many times.

APC (PHP Opcode Cache) in 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 hosting plan that you select when you register. The module can be activated from the Hepsia hosting Control Panel that is used to handle the shared accounts and only a few minutes later it will boost your Internet sites as it will begin caching their program code. In case you need to run websites with various system requirements or take advantage of specific web accelerators for some of them, you can customize the software environment by putting a php.ini file in the desired domain folder. In this way, you could enable or disable APC not only for a particular website without affecting the other Internet sites in the account, but also for a particular version of PHP because our platform is compatible with multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with our semi-dedicated server plans and activating the framework is performed with a click inside the Hepsia Control Panel, so even when you don't have any previous experience, you could use it in order to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you could employ. It will take you only a click to activate APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you could set what PHP release will be used and whether APC needs to be allowed or not. In this way, one website can use APC and PHP 5.3, for example, whereas another one could use another accelerator and PHP 5.5.