Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and will boost such an Internet site up to 3 times. PHP sites are dynamic and every time a user accesses a webpage, the script links to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the visitor. In case the output code does not change however, which is the case with websites that display identical content all of the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse a site, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled again and again, which consequently lowers the Internet site loading time. The module could be extremely effective for informational Internet sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web applications with any of the shared hosting plans that we provide since it's pre-installed on our cloud web hosting platform. Activating it will take just a single click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it'll begin caching the program code of your software applications. Our platform is very flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the whole account and set the version that each website can use, or you can have the exact same version of PHP, but enable or disable APC only for specified websites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with our semi-dedicated server packages and activating this framework is done with a click inside the Hepsia Control Panel, so even when you don't have any previous experience, you can use it in order to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you will 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 in the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you can set what PHP version will be used and whether APC should be allowed or not. In this way, one site could use APC and PHP 5.3, for instance, while another one can use some different accelerator and PHP 5.5.