APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. Any time a PHP web page is accessed, the script pulls the website content which has to be loaded from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for sites with regularly changing content, it's a complete waste of processing time and system resources for an Internet site that does not change, like an informational portal that shows identical content all the time. Once the webpages for such a website are compiled, APC caches them and delivers them whenever a visitor accesses them. As this saves the time to get content from the database and to parse and compile the program code, the website will load a lot faster. APC is very effective particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to employ APC for your web apps with all of the cloud website hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take just a click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll start caching the code of your apps. Our platform is quite flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you can activate APC for a couple of releases of PHP for the whole account and choose the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specific sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for every single script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click from the Hepsia Control Panel, but if needed, you can use the module only for certain sites. This is possible on account of the versatility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can pick what version will be used for this particular site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you could take advantage of APC for many scripts where the module makes a difference and not for others where you can employ some other kind of web accelerator.