Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and could speed up such a website as much as three times. PHP sites are dynamic and whenever a website visitor opens a webpage, the script hooks up to a database to get some content, then the code is parsed and compiled before it is shown to the guest. If the output code doesn't change however, that is the case with Internet sites that display the exact same content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it each time visitors browse a website, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled again and again, that in turn reduces the site loading time. The module can be very useful for informational websites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Web Hosting
You will be able to employ APC for your web apps with any of the web hosting
plans that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click in the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the code of your apps. Our platform is quite flexible, so you will be able to use different configurations depending on the system requirements of your scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and pick the version that each website can use, or you can have the same version of PHP, but activate or deactivate APC just for particular websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with our semi-dedicated hosting
solutions and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even when you lack prior experience, you could use it in order to accelerate your Internet sites. As the cloud internet 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'll be able to employ. It will take you just a click to enable APC for one or several PHP versions 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 version will be used and whether APC has to be allowed or not. In this way, one site can use APC and PHP 5.3, for instance, and another one may use another accelerator and PHP 5.5.