Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and will accelerate such a site up to 3 times. PHP websites are dynamic and any time a user accesses a web page, the script connects to a database in order to get some content, then the code is parsed and compiled prior to it being shown to the site visitor. If the output code does not change however, which is the case with sites which display identical content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse a website, so the database doesn't have to be accessed and the code does not need to be parsed and compiled again and again, that consequently decreases the Internet site loading time. The module can be quite effective for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to employ APC for your web apps with all of the cloud hosting plans that we offer because it's pre-installed on our cloud website hosting platform. Activating it will take only a click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll start caching the program code of your software apps. Our platform is quite flexible, so you will be able to use different configurations determined by the system requirements of your scripts. For example, you could activate APC for several releases of PHP for the entire account and pick the version that each website will use, or you could have the same version of PHP, but activate or deactivate APC just for particular websites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with all of our semi-dedicated hosting packages and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even if you don't have any previous experience, you will be able to use it in order to accelerate your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have flexibility regarding the scripts and web accelerators you will be able to use. It will take you just a click to allow APC for one or a couple of PHP versions 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 will be able to set what PHP release will be used and whether APC has to be allowed or not. In this way, one website can use APC and PHP 5.3, for instance, and another one can use another accelerator and PHP 5.5.