Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script apps. It is very useful for scripts with large source code and could boost such a website up to 3 times. PHP sites are dynamic and each time a visitor accesses some webpage, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the site visitor. If the output code does not change however, that's the case with websites that show the exact same content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse an Internet site, so the database doesn't need 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 extremely helpful for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web applications with any of the shared hosting packages that we provide because it is pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel that comes with our shared plans and a few minutes later it will start caching the program code of your applications. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each website will use, or you can have the same version of PHP, but enable or disable APC just for particular sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with all our semi-dedicated server packages and activating the framework is performed with a click inside the Hepsia Control Panel, so even when you don't have any prior experience, you could use it in order to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you could employ. It will take you just a click to allow APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you could set what PHP version will be used and whether APC should be enabled or not. In this way, one Internet site can use APC and PHP 5.3, for example, whereas another one may use some different accelerator and PHP 5.5.