APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could boost a database-driven Internet site several times. Every time a PHP page is opened, the script pulls the content which needs to be displayed from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for websites with regularly changing content, it is a waste of processing time and resources for a site that doesn't change, for example an informational portal that displays the same content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor accesses them. Since this saves the time to request content from the database and to parse and compile the program code, the website will load a lot faster. APC is very effective in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to use APC for your web applications with all of the shared hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Enabling it will take just a mouse click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll start caching the code of your software applications. Our platform is very flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and choose the version that each Internet site will use, or you could have the exact same version of PHP, but activate or deactivate APC only for specific sites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for every script application which is run 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 takes a click inside the Hepsia Control Panel, but if necessary, you could use the module just for specific websites. This is possible because of the versatility of our cloud platform - several versions 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 choose what release will be used for this specific Internet site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for the account, so you could 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 kind of web accelerator.