APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven website several times. Each time a PHP webpage is opened, the script pulls the content that needs to be shown from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for Internet sites with routinely changing content, it is a complete waste of processing time and resources for an Internet site which doesn't change, for example an informational portal which displays the very same content on a regular basis. As soon as the pages for such a site are compiled, APC caches them and delivers them each 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, the site will load a lot faster. APC is very effective in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Web Hosting
You will be able to use APC for your web applications with all of the web hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it'll start caching the program code of your apps. Our platform is rather flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the whole account and set the version that each site can use, or you could have the very same version of PHP, but activate or deactivate APC only for specific websites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application that runs on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if necessary, you can use the module only for certain Internet sites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for the account, so you could take full advantage of APC for many scripts where the module will make a difference and not for others where you can take advantage of another kind of web accelerator.