APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven site several times. Every time a PHP page is accessed, the script pulls the site content which needs to be shown from a database, parses and compiles the program code, then the result is shown to the site visitor. While this is necessary for Internet sites with routinely changing content, it is a total waste of processing time and resources for a site which does not change, for example an informational portal which shows the very same content all the time. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor loads them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load a lot faster. APC is very helpful especially for scripts with large source code.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with every single website hosting package that we provide as it is already installed on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. Since our system is extremely flexible, you can run Internet sites with different system requirements and decide if they will use APC or not. For instance, you can enable APC only for a single release of PHP or you could do the latter for several of the releases running on the platform. You may also select if all websites using a particular PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful when you intend to employ a different web accelerator for several of your websites. These customizations are done without any difficulty by using 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 which runs on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes a single click in the Hepsia Control Panel, but if necessary, you could use the module only for specific sites. This is possible as a result of 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 site folder, you will be able to choose what version will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for your account, so you will be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you may employ some other kind of web accelerator.