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 useful for scripts with large source code and can accelerate such a site as much as three times. PHP websites are dynamic and any time a visitor accesses a webpage, the script links to a database in order to retrieve some content, after that the code is parsed and compiled before it's shown to the website visitor. In case the output code doesn't change however, that's the case with Internet sites that show identical content at all times, such actions trigger needless reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse an Internet site, so the database does not have to be accessed and the code doesn't need to be parsed and compiled again and again, which consequently minimizes the site loading time. The module could be pretty effective for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
You will be able to employ APC for your web applications with all of the shared web hosting plans that we offer since it is pre-installed on our cloud website hosting platform. Enabling it will take only a click in the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll begin caching the code of your applications. Our platform is rather flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For instance, you could activate APC for several versions of PHP for the whole account and choose the version that each website can use, or you could have the same version of PHP, but enable or disable APC only for particular Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all of our semi-dedicated hosting solutions and activating this framework is performed with a mouse click inside the Hepsia Control Panel, so even if you don't have any previous experience, you can use it to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you will be able to use. It will take you only a click to allow APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you can set what PHP release will be used and whether APC should be allowed or not. This way, one website may use APC and PHP 5.3, for instance, whereas another one may use some other accelerator and PHP 5.5.