APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it could affect the PHP performance inside your hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites save their content inside a database which is accessed whenever a visitor loads a page. The content which has to be shown is gathered and the code is parsed and compiled before it's delivered to the website visitor. All of these actions take some processing time and include reading and writing on the web server for each and every page which is opened. While this can't be avoided for websites with constantly changing content material, there're many websites which offer the exact same content on a lot of of their webpages all of the time - blogs, informational portals, hotel and restaurant websites, etc. APC is really useful for this kind of sites as it caches the previously compiled code and shows it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. Not only will this minimize the server load, but it'll also boost the speed of any Internet site many times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single cloud website hosting
package that we offer as it's already present on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. Since our system is quite flexible, you'll be able to run sites 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 could do this for several of the releases that run on the platform. In addition, you can decide if all sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for some of your Internet sites. These customizations are carried out without any difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every script application which runs on your new semi-dedicated server
as the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires a single click inside the Hepsia Control Panel, but if necessary, you could use the module just for certain Internet sites. This is possible due to the versatility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can select what version will be used for this particular website and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you will be able to take advantage of APC for a lot of scripts where the module makes a difference and not for others where you could employ some other kind of web accelerator.