APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ stands for, what APC can do PHP effectiveness-wise and how to activate it for your account.
Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and could speed up such a site up to 3 times. PHP websites are dynamic and any time a user accesses some web page, the script connects to a database to retrieve some content, after that the code is parsed and compiled before it is displayed to the visitor. In case the output code does not change however, that is the case with Internet sites that show the same content all the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it whenever visitors browse an Internet site, so the database does not have to be accessed and the program code doesn't have to be parsed and compiled over and over again, which consequently reduces the Internet site loading time. The module could be pretty helpful for informational sites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you can use it for your applications whatever the shared web hosting
package that you select when you register. The module can be enabled through the Hepsia web hosting Control Panel that is used to take care of the shared accounts and just several minutes later it will boost your sites since it will start caching their code. In case you want to run sites with different system requirements or employ different web accelerators for some of them, you can customize the software environment by putting a php.ini file inside the desired domain folder. Thus, you can enable or disable APC not only for a certain site without affecting the other Internet sites in the account, but also for a certain version of PHP since our platform supports multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all of our semi-dedicated hosting
plans and activating the framework is done with a mouse click in the Hepsia Control Panel, so even when you don't have any previous experience, you'll be able to use it to quicken your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you will be able to employ. It will take you only a click to enable APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account in general, you can set what PHP release will be used and whether APC needs to be enabled or not. In this way, one website may use APC and PHP 5.3, for example, whereas another one could use a different accelerator and PHP 5.5.