Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very effective for scripts with large source code and could boost such an Internet site up to three times. PHP websites are dynamic and any time a visitor opens a webpage, the script links to a database in order to get some content, after that the code is parsed and compiled before it is shown to the visitor. In case the output code does not change however, that is the case with Internet sites which show identical content all the time, these actions result in excessive reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse an Internet site, so the database doesn't need to be accessed and the code does not need to be parsed and compiled again and again, that in turn lowers the Internet site loading time. The module could be really efficient for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Hosting
You will be able to employ APC for your web applications with all of the hosting packages that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will begin caching the code of your software apps. Our platform is rather flexible, so you will be able to use different configurations based on the system requirements of the scripts. For example, you will be able to activate APC for a couple of versions of PHP for the entire account and select the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server solutions and activating the framework is performed with a click in the Hepsia Control Panel, so even if you don't have any prior experience, you can use it to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you could use. It will take you just a click to activate APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC should be enabled or not. This way, one website can use APC and PHP 5.3, for instance, whereas another one can use another accelerator and PHP 5.5.