APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven Internet site several times. When a PHP web page is opened, the script pulls the website content that needs to be loaded from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for websites with regularly changing content, it is a total waste of processing time and resources for an Internet site that does not change, for example an informational portal which displays identical content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor accesses them. As 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 helpful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Shared Web Hosting

You can use APC with each shared web hosting plan that we offer as it's already set up on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. Since our system is really flexible, you can run websites with different system requirements and decide if they will work with APC or not. For example, you could activate APC only for a single release of PHP or you can do this for several of the versions that run on the platform. It's also possible to select if all sites using a specific PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all Internet sites in the website hosting account. The last option is useful when you want to employ a different web accelerator for several of your sites. These customizations are carried out effortlessly 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 which is run on your new semi-dedicated server because 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 in the Hepsia Control Panel, but if needed, you could use the module just for specific websites. This is possible because of the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular website and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for your account, so you can take advantage of APC for a lot of scripts where the module makes a difference and not for others where you may take advantage of another kind of web accelerator.