APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the website content that should be loaded from a database, parses and compiles the code, and the result is shown to the website visitor. While this is necessary for websites with constantly changing content, it's a waste of processing time and resources for a website that doesn't change, for example an informational portal which displays the same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them any time a user accesses them. Since this saves the time to request content from the database and to parse and compile the code, the Internet site will load much faster. APC is really useful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each web hosting
plan that we offer as it's already installed on our advanced cloud platform and enabling it will take you only a couple of clicks inside your Hepsia Control Panel. As our system is rather flexible, you can run sites with various requirements and decide whether they will work with APC or not. For instance, you can allow APC only for one version of PHP or you could do the latter for several of the versions that run on the platform. You can also select if all sites using a particular PHP version will use APC or whether the latter will be enabled just for selected sites and not for all sites in the web hosting account. The last option is useful if you'd like to employ a different web accelerator for several of your Internet sites. These customizations are performed effortlessly by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each script application which 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 requires a single click from the Hepsia Control Panel, but if needed, you could use the module only for particular websites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to select what release will be used for this particular site and whether APC should be enabled or disabled. Using 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 may employ a different kind of web accelerator.