APC (PHP Opcode Cache)
Uncover what the acronym ‘APC’ is short for, everything that APC can do PHP overall performance-wise and approaches to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP Internet sites store their content in a database which is accessed whenever a visitor opens a page. The content which has to be viewed 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 web server for every single page that is loaded. While this can't be avoided for Internet sites with constantly changing content material, there're numerous sites that feature the same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is exceptionally useful for this type of websites as it caches the already compiled code and shows it every time visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. This will not only reduce the server load, but it'll also boost the speed of any website several times.
APC (PHP Opcode Cache) in Web Hosting
APC is provided with each and every web hosting
package that we offer and you could activate it with only a click through your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be working and you will experience the considerably quicker loading speed of your database-driven sites. As we offer several releases of PHP which can also be selected from Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the very same account. Our cutting-edge cloud hosting platform is very flexible, so in case you use an alternative web accelerator for any website and it disrupts APC, you could activate or deactivate the aforementioned for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is available with all semi-dedicated server
solutions as it's pre-installed on the cloud website hosting platform where your account shall be created. If you wish to use this module, you'll be able to activate it with a single click inside your Hepsia Control Panel and it'll be fully operational in a few minutes. Since you may want to use alternative web accelerators for selected sites, our advanced platform will allow you to personalize the software environment inside your account. You will be able to activate APC for different versions of PHP or use it only for some websites and not for others. For instance, a Drupal™
-based website can work with APC using PHP 5.4 and a WordPress site can work without APC using PHP 5.6. What is needed to do that is a php.ini file with a couple of lines in it, so you can run Internet sites with various requirements in the exact same account.