APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could speed up a database-driven website several times. Each time a PHP webpage is opened, the script pulls the site content that needs to be shown from a database, parses and compiles the program code, then the result is displayed to the visitor. While this is necessary for sites with routinely changing content, it's a total waste of processing time and system resources for an Internet site which does not change, for instance an informational portal which shows the same content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them any time a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is very efficient in particular for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You will be able to employ APC for your web applications with any of the hosting packages that we offer since it is pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel that is provided 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 will be able to use different configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the whole account and choose the version that each website will use, or you could have the exact same version of PHP, but activate or deactivate APC only for specific websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for each script application which runs on your new semi-dedicated server 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 requires a single click in the Hepsia Control Panel, but if necessary, you can use the module just for particular websites. This is possible due to the versatility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can select what version will be used for this particular Internet site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for the account, so you could take full advantage of APC for many scripts where the module makes a difference and not for others where you may employ some other kind of web accelerator.