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 can accelerate such a site up to 3 times. PHP websites are dynamic and whenever a visitor accesses a web page, the script connects to a database to get some content, then the code is parsed and compiled before it is displayed to the website visitor. If the output code does not change however, that's the case with sites that display the very same content all of the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database doesn't need to be accessed and the program code does not have to be parsed and compiled repeatedly, which consequently reduces the Internet site loading time. The module can be pretty effective for informational sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to employ APC for your web apps with all of the cloud hosting plans that we offer since it's pre-installed on our cloud website hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which comes with our shared plans and several minutes later it will begin caching the code of your software applications. Our platform is rather flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and select the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC just for specified sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with our semi-dedicated server solutions and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even if you have no previous experience, you can use it to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you'll be able to use. It will take you only a click to allow APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which 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 should be enabled or not. This way, one site can use APC and PHP 5.3, for instance, while another one could use some other accelerator and PHP 5.5.