APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can influence the PHP performance inside your web hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites hold their content within a database that is accessed whenever a visitor loads a page. The content that has to be shown is gathered and the code is parsed and compiled before it is delivered to the site visitor. These actions take some processing time and include reading and writing on the server for each page that is loaded. While this cannot be avoided for sites with constantly changing content material, there are various Internet sites that present the exact same content on many of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for such websites since it caches the already compiled code and shows it every time visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. Not only will this lower the server load, but it will also raise the speed of any site a few times.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You will be able to employ APC for your web applications with all of the
shared website hosting plans that we provide since it's pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it will begin caching the program code of your applications. Our platform is very flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and select the version that each site can use, or you could have the exact same version of PHP, but enable or disable APC only for specified Internet sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our
semi-dedicated server plans and activating the framework is done with a mouse click from the Hepsia Control Panel, so even if you don't have any prior experience, you can use it in order to boost your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you just a click to allow APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account in general, you'll be able to set what PHP version will be used and whether APC should be allowed or not. In this way, one site can use APC and PHP 5.3, for instance, while another one could use another accelerator and PHP 5.5.