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 effective for scripts with large source code and can speed up such a site as much as 3 times. PHP websites are dynamic and any time a website visitor accesses a webpage, the script connects to a database to retrieve some content, then the code is parsed and compiled prior to it being shown to the site visitor. In case the output code does not change however, that is the case with Internet sites that display the same content at all times, such actions trigger unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse an Internet site, so the database does not have to be accessed and the program code does not have to be parsed and compiled repeatedly, which in turn minimizes the Internet site loading time. The module can be pretty efficient for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you will be able to use it for your applications irrespective of the cloud hosting plan that you choose when you register. The module can be activated through the Hepsia hosting Control Panel that is used to manage the shared accounts and only a few minutes later it will speed up your Internet sites because it'll begin caching their code. If you want to run websites with different system requirements or employ different web accelerators for any of them, you can customize the software environment by putting a php.ini file inside the preferred domain folder. Thus, you can enable or disable APC not only for a specific website without affecting the other Internet sites in the account, but also for a certain version of PHP as our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with our semi-dedicated hosting packages and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you lack prior experience, you can use it to accelerate your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have freedom regarding the scripts and web accelerators you could employ. It will take you only 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 different from the ones for the account as a whole, you can set what PHP release will be used and whether APC needs to be enabled or not. This way, one website could use APC and PHP 5.3, for instance, whereas another one may use another accelerator and PHP 5.5.