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 efficient for scripts with large source code and will accelerate such a website up to three times. PHP websites are dynamic and any time a user accesses some web page, the script connects to a database to retrieve some content, after that the code is parsed and compiled before it is displayed to the site visitor. In case the output code does not change however, that is the case with Internet sites which display the same content all of the time, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse an Internet site, so the database does not need to be accessed and the program code does not need to be parsed and compiled again and again, that in turn reduces the website loading time. The module can be really effective for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Hosting
You will be able to employ APC for your web applications with any of the shared hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll start caching the program code of your applications. Our platform is extremely flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the whole account and pick the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for particular sites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all of our semi-dedicated hosting packages and activating the framework is performed with a click inside the Hepsia Control Panel, so even when you lack previous experience, you can use it in order to quicken your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created 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 just a click to activate 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 different from the ones for the account in general, you can set what PHP release will be used and whether APC needs to be allowed or not. In this way, one Internet site can use APC and PHP 5.3, for instance, and another one can use another accelerator and PHP 5.5.