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 which is accessed whenever a visitor loads a webpage. The content that should be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All these actions need some processing time and involve reading and writing on the web server for each and every page which is accessed. While this cannot be avoided for Internet sites with regularly changing content, there are many sites which feature the exact same content on many of their pages at all times - blogs, info portals, hotel and restaurant websites, etc. APC is exceptionally 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 does not need to be parsed and compiled all over again. Not only will this reduce the server load, but it will also raise the speed of any site several times.

APC (PHP Opcode Cache) in Shared Hosting

APC is provided with each and every shared hosting package that we offer and you could activate it with only a click from your Hepsia Control Panel if you want to use it for your web applications. Several minutes later the framework will be working and you will experience the faster loading speed of your database-driven websites. Since we provide different versions of PHP which can also be selected from Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the same account. Our advanced cloud Internet hosting platform is extremely adaptable, so in case you use some other web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the latter 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 Hosting

You can take advantage of APC with our semi-dedicated hosting solutions and activating the framework is done with a click from the Hepsia Control Panel, so even when you don't have any prior experience, you'll be able to use it to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you could employ. It will take you only a click to activate APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC should be allowed or not. This way, one site may use APC and PHP 5.3, for instance, whereas another one could use a different accelerator and PHP 5.5.