PHP handlers are necessary for everyday function of your server and determine how a PHP process is loaded on your server. To run PHP files or scripts on your site, a PHP handler is needed to decipher the code within a PHP file based on the PHP version to display the content over the web.

What kind's of PHP Handler's do we offer and support?





Why would I change my PHP handler?



The reason to switch PHP handler's would depend on what you are trying to use your server for, such as if you are looking for performance, need caching for your site(s), needing a specific module enabled, and the list can go on. We will explain the differences between each handler and what it is best used for.

SuPHP



SuPHP is used on all of our Shared and Re-Seller server environments, as it is cPanel's preferred PHP handler, and is noted as the most secure PHP handler. SuPHP works by running PHP as a CGI module on the server which separates each PHP processes under the user in which is running them.

Pros:





Cons:





DSO



This is another default handler, and is commonly considered the fastest PHP handler available. DSO runs PHP as an Apache Module, meaning PHP scripts will run as Apache's default user "nobody" instead of the cPanel user.

Pros:





Cons:





CGI



CGI runs PHP as a CGI module instead of an Apache module. This PHP is not commonly used as it is considered the slowest PHP handler.

Pros:





Cons:





FCGI



Commonly known as Fast CGI, and is a higher performance version of the CGI PHP handler and is comparable to DSO.

Pros:





Cons:





How would I change PHP Handlers?





This article was written by Support Technician II Vanessa S.