APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven website several times. Every time a PHP page is accessed, the script pulls the content that has to be shown from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for websites with constantly changing content, it is a total waste of processing time and resources for a site that doesn't change, such as an informational portal that displays the exact same content at all times. As soon as the web pages for such a site are compiled, APC caches them and delivers them any time a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly faster. APC is very effective in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with every single shared hosting
plan that we offer since it's already set up on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. As our platform is quite flexible, you'll be able to run websites with various system requirements and decide if they will work with APC or not. For instance, you could allow APC only for a single release of PHP or you can do the latter for several of the releases that run on our platform. It's also possible to decide if all Internet sites working with a certain PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all sites in the web hosting account. The last option is useful when you want to employ a different web accelerator for several of your sites. These customizations are carried out with ease through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that is run on your new semi-dedicated server
as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a single click from the Hepsia Control Panel, but if necessary, you could use the module just for specific sites. This is possible on account of the versatility of our cloud platform - different versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what version will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you could take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you could use a different kind of web accelerator.