Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script apps. It is very useful for scripts with large source code and could speed up such a website up to three times. PHP websites are dynamic and each time a website visitor accesses some page, the script links to a database in order to get some content, and then the code is parsed and compiled before it's shown to the website visitor. If the output code doesn't change however, which is the case with websites which display the very same content all of the time, these actions trigger excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse an Internet site, so the database doesn't have to be accessed and the code doesn't have to be parsed and compiled over and over again, which consequently lowers the Internet site loading time. The module can be really efficient for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Website Hosting
You can employ APC for your web apps with all of the website hosting
plans that we offer since it's pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will start caching the program code of your software applications. Our platform is rather flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the entire account and specify the version that each site can use, or you can have the very same version of PHP, but enable or disable APC only for specific websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with our semi-dedicated hosting
solutions and activating this framework is done with a click from the Hepsia Control Panel, so even when you don't have any prior experience, you could use it to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you will 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 in the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC needs to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for example, whereas another one can use a different accelerator and PHP 5.5.