APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites save their content in a database which is accessed whenever a visitor loads a webpage. The content that should be displayed is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions need some processing time and involve reading and writing on the server for each page which is loaded. While this can't be avoided for Internet sites with constantly changing content material, there're many sites which offer the exact same content on a lot of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is really useful for this type of websites as it caches the previously compiled code and shows it every time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only lower the server load, but it'll also boost the speed of any website many times.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each web hosting package that we provide since it is already installed on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is really flexible, you'll be able to run Internet sites with different requirements and decide if they will work with APC or not. For example, you can activate APC only for a single version of PHP or you can do the latter for several of the releases running on the platform. In addition, you can select if all sites working with 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 hosting account. The aforementioned option is useful if you would like to employ a different web accelerator for several of your Internet 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 single script application that is run on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account requires a single click from the Hepsia Control Panel, but if needed, you can use the module just for certain sites. This is possible as a result of the flexibility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can select what version will be used for this particular site and whether APC has to be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for the account, so you will be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you may take advantage of a different type of web accelerator.