APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can boost a database-driven website several times. Every time a PHP web page is opened, the script pulls the site content that should be shown from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for websites with frequently changing content, it's a total waste of processing time and resources for an Internet site that does not change, for example an informational portal which displays the same content all the time. Once the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a user loads them. As this saves the time to request content from the database and to parse and compile the code, the Internet site will load a lot faster. APC is very effective particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to use APC for your web apps with any of the cloud website hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Activating it will take only a click in the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it will begin caching the program code of your software apps. Our platform is really flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the entire account and specify the version that each website will use, or you could have the same version of PHP, but enable or disable APC only for particular Internet sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom configuration.

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 because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires one click inside the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible due to the versatility of our cloud platform - different versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can pick what release will be used for this specific website and whether APC needs to be enabled or disabled. Using such a file enables you to use settings which are different from the ones for your account, so you will be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you may take advantage of another kind of web accelerator.