APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could speed up a database-driven Internet site several times. Every time a PHP webpage is accessed, the script pulls the content that should be shown from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for Internet sites with frequently changing content, it is a complete waste of processing time and system resources for an Internet site that does not change, such as an informational portal that shows the exact same content on a regular basis. Once the web pages for such a site are compiled, APC caches them and delivers them whenever a user loads them. Since this saves the time to collect content from the database and to parse and compile the program code, your Internet site will load considerably faster. APC is really helpful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You can use APC with each and every hosting package that we offer because it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks inside your Hepsia Control Panel. As our platform is rather flexible, you will be able to run sites with different requirements and decide whether they will work with APC or not. For instance, you can enable APC only for a single release of PHP or you could do this for several of the versions running on the platform. You may also choose if all websites using a specific PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all sites in the website hosting account. The last option is useful if you wish to employ a different web accelerator for several of your websites. These customizations are done without any difficulty through a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every single script application that runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes one click in the Hepsia Control Panel, but if necessary, you can use the module only for certain sites. This is possible on account of the flexibility 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 version will be used for this particular website and whether APC needs 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 will be able to take full advantage of APC for many scripts where the module makes a difference and not for others where you can take advantage of another kind of web accelerator.