APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven Internet site several times. When a PHP page is opened, the script pulls the content that should be loaded from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for Internet sites with constantly changing content, it is a total waste of processing time and resources for a site which doesn't change, like an informational portal that displays identical content all the time. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them whenever a user accesses 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 much faster. APC is very efficient in particular for scripts with large source code.
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every hosting plan that we offer because it is already present on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is rather flexible, you can run Internet sites with different system requirements and decide whether they will work with APC or not. For instance, you can allow APC only for one release of PHP or you can do this for several of the releases running on the platform. You may also choose if all sites working with a specific PHP version will use APC or whether the latter will be active only for selected Internet sites and not for all Internet sites in the web hosting account. The last option is useful if you intend to employ a different web accelerator for several of your sites. These customizations are performed without difficulty through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every single script application that runs on your new semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires a single click in the Hepsia Control Panel, but if necessary, you could use the module just for certain websites. This is possible on account of the flexibility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can pick what release will be used for this particular Internet site and whether APC has to be enabled or disabled. Using such a file allows you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for some scripts where the module makes a difference and not for others where you can use a different kind of web accelerator.