APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can speed up a database-driven website several times. When a PHP page is opened, the script pulls the content which has to be loaded from a database, parses and compiles the code, then the result is displayed to the visitor. While this is necessary for websites with regularly changing content, it is a waste of processing time and resources for an Internet site which doesn't change, for instance an informational portal that displays identical content all the time. When the web pages for such a site are compiled, APC caches them and delivers them every time a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the program code, your Internet site will load significantly faster. APC is really useful particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Hosting

You can use APC with every single hosting plan that we offer since it is already set up on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you'll be able to run websites with various system requirements and decide if they will work with APC or not. For example, you could activate APC only for one version of PHP or you can do the latter for several of the versions that run on our platform. You can also choose if all websites 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 sites in the hosting account. The aforementioned option is useful if you want to employ a different web accelerator for several of your websites. These customizations are done 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 each script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a click inside the Hepsia Control Panel, but if needed, you could use the module just for specific websites. This is possible because of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this specific Internet site and whether APC should be enabled or disabled. Using such a file allows you to use settings that are different from the ones for the account, so you will be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you can employ a different type of web accelerator.