Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script applications. It is very effective for scripts with large source code and could speed up such a website up to 3 times. PHP sites are dynamic and every time a visitor opens some web page, the script connects to a database to retrieve some content, and then the code is parsed and compiled before it's displayed to the site visitor. If the output code does not change however, which is the case with Internet sites which show the very same content at all times, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a website, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled continuously, which consequently lowers the site loading time. The module can be very useful for informational websites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC for your web apps with all of the cloud website hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that is provided with our shared plans and several minutes later it will begin caching the program code of your applications. Our platform is quite flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For instance, you will be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each Internet site can use, or you can have the same version of PHP, but activate or deactivate APC just for specific Internet sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with our semi-dedicated hosting plans and activating this framework is done with a mouse click in the Hepsia Control Panel, so even if you don't have any previous experience, you can use it to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to activate 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 that are different from the ones for the account in general, you could set what PHP release will be used and whether APC should be enabled or not. This way, one Internet site could use APC and PHP 5.3, for example, while another one can use some different accelerator and PHP 5.5.