APC (PHP Opcode Cache)
Find out what the acronym ‘APC’ stands for, precisely what APC is capable of PHP efficiency-wise and approaches to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites keep their content within a database that is accessed whenever a visitor opens a webpage. The content which needs to be displayed is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions need some processing time and require reading and writing on the web server for every single page that is loaded. While this can't be avoided for Internet sites with regularly changing content, there are various websites which have the very same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is quite useful for this kind of sites because it caches the previously compiled code and displays it each time visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. Not only will this minimize the server load, but it will also increase the speed of any website a few times.
-
APC (PHP Opcode Cache) in Cloud Web Hosting
You can use APC with every single
cloud web hosting plan that we offer as it is already installed on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is quite flexible, you will be able to run Internet sites with different requirements and decide whether they will use APC or not. For instance, you can activate APC only for one version 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 if the latter will be enabled only for selected Internet sites and not for all Internet sites in the website hosting account. The last option is useful when you would like to employ a different web accelerator for several of your websites. These customizations are done effortlessly by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the amazing cloud Internet hosting platform where all
semi-dedicated hosting accounts are created, so you could use it regardless of the package you select. Activating the module is done through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or prior experience to take full advantage of it. Since you'll be able to use different releases of PHP at the same time, you will be able to modify the software environment for each Internet site which you host in the account if required. A php.ini file with a few lines in it placed in a domain folder will permit you to set what release of PHP this particular site will use and if APC should be on or off for it. These settings will have priority over those for the account in general, so you could run different scripts and take advantage of different web accelerators for sites that are in the same account.