APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it will influence the PHP performance inside your website hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites hold their content in a database which is accessed whenever a visitor opens a page. The content which needs to be viewed is retrieved and the code is parsed and compiled before it's delivered to the site visitor. These actions take some processing time and include reading and writing on the server for every single page which is loaded. While this cannot be avoided for Internet sites with regularly changing content material, there are many sites that offer the very same content on many of their webpages all the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this kind of sites as it caches the previously compiled code and displays it each time visitors browse the cached webpages, so the code does not need to be parsed and compiled all over again. This will not only reduce the server load, but it will also raise the speed of any website many times.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each and every shared website hosting
package that we provide since it's already set up on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is really flexible, you can run Internet sites with various system requirements and decide whether they will use APC or not. For instance, you could activate APC only for one version of PHP or you can do the latter for several of the releases that run on our platform. It's also possible to select if all Internet sites working with a specific PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you need to employ a different web accelerator for several of your Internet sites. These customizations are done without difficulty through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every script application that is run on your new semi-dedicated hosting
because the module is already 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 needed, you could use the module only for specific sites. This is possible due to the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for your account, so you could take advantage of APC for many scripts where the module can make a difference and not for others where you may use some other type of web accelerator.