APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven Internet site several times. When a PHP page is opened, the script pulls the site content that needs to be loaded from a database, parses and compiles the program code, then the result is displayed to the website visitor. While this is necessary for sites with routinely changing content, it's a complete waste of processing time and system resources for a website which does not change, for instance an informational portal which displays the exact same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to request content from the database and to parse and compile the program code, your website will load a lot faster. APC is very helpful particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web applications with any of the cloud hosting plans that we provide since it is pre-installed on our cloud website hosting platform. Enabling it will take only a click in the Hepsia Control Panel that is provided with our shared plans and a few minutes later it'll begin caching the program code of your software apps. Our platform is really flexible, so you will be able to use different configurations determined by the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the whole account and select the version that each website can use, or you could have the very same version of PHP, but enable or disable APC only for particular websites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each and every script application that runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a click inside the Hepsia Control Panel, but if needed, you could use the module just for particular sites. This is possible as a result of the flexibility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to pick what version will be used for this particular website and whether APC should be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you will be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you may employ a different kind of web accelerator.