APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it will affect the PHP performance in your web hosting account.
APC, or Alternative PHP Cache, is a PHP module which 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 that has to be viewed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All these actions need some processing time and include reading and writing on the server for each and every page which is loaded. While this cannot be avoided for sites with constantly changing content, there're many Internet sites that feature the very same content on a lot of of their pages at all times - blogs, informational portals, hotel and restaurant websites, etc. APC is quite useful for this type of websites because it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. This will not only minimize the server load, but it'll also increase the speed of any site several times.
-
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each
web hosting plan that we offer since it's already installed on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. Since our system is really flexible, you'll be able to run sites with various system requirements and decide if they will use APC or not. For example, you can allow APC only for one release of PHP or you could do the latter for several of the releases running on the platform. In addition, you can choose if all websites working with a specific PHP version will use APC or whether 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 wish to employ a different web accelerator for some of your Internet sites. These customizations are performed without any difficulty through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the amazing cloud hosting platform where all
semi-dedicated server accounts are created, so you could employ it regardless of the package you choose. Enabling the module is performed through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or earlier experience to be able to take advantage of it. Since you will be able to use different versions of PHP concurrently, you could customize the software environment for each site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this particular site will use and whether APC should be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and employ different web accelerators for websites that are in the same account.