Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and could speed up such a site as much as 3 times. PHP sites are dynamic and any time a user accesses some webpage, the script links to a database in order to retrieve some content, then the code is parsed and compiled prior to it being shown to the site visitor. In case the output code doesn't change however, that's the case with websites which display the exact same content at all times, these actions result in excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a website, so the database doesn't have to be accessed and the program code does not need to be parsed and compiled over and over again, which in turn decreases the website loading time. The module can be very effective for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with each cloud hosting package that we offer and you could enable it with just a click through your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be working and you'll notice the faster loading speed of your database-driven sites. Since we provide several releases of PHP that can also be selected from Hepsia, you will even be able to employ APC for scripts that require different versions of PHP inside the very same account. Our state-of-the-art cloud Internet hosting platform is extremely adaptable, so in case you use some other web accelerator for any website and it disturbs APC, you'll be able to activate or deactivate the latter for a certain 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 all of our semi-dedicated hosting solutions and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even if you don't have any prior experience, you can use it in order to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you can use. It will take you only a click to enable APC for one or a couple of PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP release will be used and whether APC has to be enabled or not. In this way, one website could use APC and PHP 5.3, for example, whereas another one can use a different accelerator and PHP 5.5.