APC (PHP Opcode Cache)
What exactly does the acronym 'APC' mean? Just why is the existence of APC in your account essential as far as your PHP-based Internet sites are involved? How to activate this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP Internet sites save their content within a database which is accessed whenever a visitor opens a webpage. The content which should be displayed is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions need some processing time and include reading and writing on the hosting server for each page that is opened. While this cannot be avoided for Internet sites with constantly changing content, there're many sites which feature the very same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant sites, etc. APC is very useful for such sites since it caches the previously compiled code and displays it every time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled all over again. Not only will this minimize the server load, but it will also boost the speed of any site many times.
-
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web applications with all of the
cloud hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll start caching the program code of your software applications. Our platform is extremely flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For instance, you can activate APC for a couple of releases of PHP for the entire account and choose the version that each website will use, or you could have the very same version of PHP, but enable or disable APC just for specified sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all our
semi-dedicated hosting solutions and activating this framework is performed with a click in the Hepsia Control Panel, so even if you don't have any prior experience, you could use it to quicken your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have flexibility with regards to the scripts and web accelerators you can use. It will take you only a click to activate APC for one or several PHP releases and by using a php.ini file in 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 release will be used and whether APC has to be allowed or not. In this way, one site can use APC and PHP 5.3, for example, and another one could use another accelerator and PHP 5.5.