APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites store their content inside a database that is accessed whenever a visitor loads a page. The content that should be shown is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions take some processing time and require reading and writing on the server for each page that is loaded. While this can't be avoided for sites with regularly changing content material, there're a lot of Internet sites that have the exact same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant sites, etc. APC is extremely useful for such Internet sites as it caches the previously compiled code and shows it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. Not only will this lower the server load, but it'll also increase the speed of any website several times.
APC (PHP Opcode Cache) in Hosting
You can use APC with every single hosting plan that we provide because it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you will be able to run sites with different requirements and decide whether they will use APC or not. For example, you could allow APC only for one release of PHP or you can do the latter for several of the releases running on the platform. It's also possible to choose if all sites working with a specific PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all websites in the web hosting account. The aforementioned option is useful if you'd like to employ a different web accelerator for several of your Internet sites. These customizations are done without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is set up on the amazing cloud web hosting platform where all semi-dedicated server accounts are made, so you'll be able to employ it irrespective of the package you pick. Enabling the module is done from the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or prior experience to be able to take advantage of it. As you will be able to employ different versions of PHP concurrently, you will be able to customize the software environment for every single Internet site that you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will allow you to set what release of PHP this particular website will use and whether APC should be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run various scripts and take advantage of different web accelerators for websites which are in the same account.