APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites keep their content inside a database that is accessed whenever a visitor opens a page. The content which should be viewed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. These actions take some processing time and require reading and writing on the web server for every single page which is accessed. While this can't be avoided for sites with constantly changing content, there are many sites which have the very same content on many of their webpages at all times - blogs, informational portals, hotel and restaurant websites, and many others. APC is quite useful for such Internet sites because it caches the previously compiled code and shows it when visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. Not only will this minimize the server load, but it'll also boost the speed of any website many times.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is pre-installed on our leading-edge cloud platform, therefore you will be able to use it for your applications whatever the shared web hosting package that you pick when you sign up. The module can be activated from your Hepsia hosting Control Panel that is used to take care of the shared accounts and only a few minutes later it'll speed up your sites since it will start caching their code. In case you want to run websites with different system requirements or employ different web accelerators for any of them, you'll be able to customize the software environment by placing a php.ini file inside the desired domain folder. In this way, you could enable or disable APC not just for a certain website without affecting the other 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 Hosting

You can take full advantage of APC with all our semi-dedicated hosting packages and activating the framework is performed with a click in the Hepsia Control Panel, so even when you lack previous experience, you can use it in order to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you can use. It will take you just a click to allow APC for one or a couple of 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 as a whole, you'll be able to set what PHP release will be used and whether APC has to be enabled or not. This way, one website can use APC and PHP 5.3, for instance, whereas another one may use some other accelerator and PHP 5.5.