APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could boost a database-driven Internet site several times. Every time a PHP page is opened, the script pulls the site content which needs to be displayed from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it's a total waste of processing time and system resources for a website that does not change, for example an informational portal that shows the exact same content all the time. When the webpages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load a lot faster. APC is very effective especially for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to use APC for your web applications with all of the cloud website hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Activating it will take only a single click in the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it'll begin caching the code of your applications. Our platform is really flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For instance, you will be able to activate APC for several versions of PHP for the whole account and select the version that each website will use, or you can have the very same version of PHP, but enable or disable APC just for specified Internet sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each and every 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 entire account requires one click inside the Hepsia Control Panel, but if necessary, you can use the module just for certain sites. This is possible due to the flexibility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can select what release will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file enables you to use settings that are different from the ones for your account, so you'll be able to take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you could employ another type of web accelerator.