APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven Internet site several times. When a PHP webpage is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and the result is displayed to the site visitor. While this is necessary for sites with routinely changing content, it is a waste of processing time and system resources for a site that does not change, like an informational portal that shows identical content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them whenever a visitor opens them. Since this saves the time to request content from the database and to parse and compile the program code, your Internet site will load significantly faster. APC is really helpful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web apps with all of the cloud hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it will start caching the code of your applications. Our platform is extremely flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For example, you could activate APC for several versions of PHP for the entire account and choose the version that each Internet site can use, or you could have the same version of PHP, but enable or disable APC just for particular Internet sites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for each script application which runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if necessary, you could use the module only for certain sites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can select what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for your account, so you could take advantage of APC for many scripts where the module will make a difference and not for others where you could take advantage of some other type of web accelerator.