Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very effective for scripts with large source code and will accelerate such a site up to 3 times. PHP sites are dynamic and every time a website visitor opens some 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 visitor. If the output code doesn't change however, that is the case with sites that display identical content all the time, these actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse a site, so the database doesn't have to be accessed and the program code doesn't need to be parsed and compiled continuously, which in turn reduces the Internet site loading time. The module can be very useful for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Hosting

You'll be able to employ APC for your web applications with any of the hosting packages that we offer because it is pre-installed on our cloud website hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it will begin caching the program code of your software applications. Our platform is really flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the whole account and choose the version that each Internet site will use, or you can have the same version of PHP, but activate or deactivate APC just for specific sites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take advantage of APC with our semi-dedicated hosting packages and activating the framework is done with a click in the Hepsia Control Panel, so even if you don't have any prior experience, you'll be able to use it in order to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to employ. It will take you just a click to enable APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings that are different from the ones for the account in general, you will be able to set what PHP version will be used and whether APC has to be allowed or not. This way, one Internet site can use APC and PHP 5.3, for example, while another one can use a different accelerator and PHP 5.5.