APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it can impact the PHP performance inside your web hosting account.
Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very efficient for scripts with large source code and could speed up such an Internet site up to three times. PHP websites are dynamic and every time a 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 displayed to the visitor. In case the output code does not change however, that is the case with sites which show identical content all the time, these actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse an Internet site, so the database does not need to be accessed and the code doesn't need to be parsed and compiled continuously, that in turn decreases the Internet site loading time. The module could be really effective for informational sites, blogs, portfolios, etcetera.
-
APC (PHP Opcode Cache) in Hosting
You'll be able to use APC for your web apps with all of the
hosting plans that we provide as it's pre-installed on our cloud web hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll start caching the code of your software applications. Our platform is rather flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and set the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular Internet sites. You can do this 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 our
semi-dedicated hosting packages and activating this framework is done with a click inside the Hepsia Control Panel, so even if you have no previous experience, you will be able to use it to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to enable APC for one or a couple of PHP versions and by using a php.ini file inside 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 release will be used and whether APC has to be enabled or not. In this way, one website could use APC and PHP 5.3, for example, while another one could use some other accelerator and PHP 5.5.