APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP Internet sites store their content within a database which is accessed whenever a visitor opens a page. The content which should be shown is retrieved and the code is parsed and compiled before it's delivered to the visitor. All of these actions need some processing time and require reading and writing on the web server for each page that is loaded. While this cannot be avoided for Internet sites with regularly changing content, there're various Internet sites that offer the same content on many of their pages at all times - blogs, info portals, hotel and restaurant sites, etc. APC is extremely useful for this type of Internet sites because it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this minimize the server load, but it'll also raise the speed of any Internet site many times.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each and every website hosting plan that we provide because it is already present on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. As our system is extremely flexible, you can run Internet sites with various requirements and decide if they will use APC or not. For instance, you could enable APC only for a single version of PHP or you could do the latter for several of the versions that run on the platform. You may also select if all Internet sites using a particular PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all sites in the web hosting account. The last option is useful when you would like to employ a different web accelerator for several of your sites. These customizations are done with ease via a php.ini file in selected domain or subdomain folders.
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 as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires a single click inside the Hepsia Control Panel, but if necessary, you can use the module just for particular websites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular website and whether APC should be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you will be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you could employ another type of web accelerator.