Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and could speed up such an Internet site up to three times. PHP websites are dynamic and each time a user opens some page, the script links to a database to get some content, then the code is parsed and compiled before it's displayed to the visitor. In case the output code doesn't change however, which is the case with Internet sites which show the exact same content all the time, these actions result in unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a website, so the database doesn't need to be accessed and the code doesn't need to be parsed and compiled continuously, which consequently decreases the Internet site loading time. The module can be quite efficient for informational Internet sites, blogs, portfolios, etcetera.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web apps with any of the cloud hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that comes with our shared plans and several minutes later it'll start caching the program code of your apps. Our platform is very flexible, so you will be able to use different configurations depending on the system requirements of your scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the whole account and select the version that each website can use, or you could have the same version of PHP, but activate or deactivate APC just for specific websites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each script application which is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires one click inside the Hepsia Control Panel, but if needed, you could use the module just for particular sites. This is possible due to the versatility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you can employ another kind of web accelerator.