How to Change the PHP Handler on a Linux Server or VPS with cPanel

This article covers how to change the PHP handler on a Linux VPS or dedicated server running cPanel/WHM. The instructions below require root-level access to the WHM admin panel.

The PHP handler is the software that Apache uses to implement PHP. The different choices can have effects on the performance, and security, of your server. For more information about the specific differences and capabilities of suphp, dso, and cgi, please see cPanel’s official documentation:

How to Change the PHP Handler

1. Log in to WHM as the root user.

Screen Shot 2015-12-16 at 10.15.54 PM

2. Navigate to Service Configuration > Configure PHP and suEXEC in the left menu.

Screen Shot 2015-12-16 at 11.14.20 PM

3. Scroll down to Alter Configuration and choose your preferred PHP handler: suPHP, DSO, or CGI. Click Save New Configuration to commit the change.

Screen Shot 2015-12-16 at 11.16.39 PM

This article applies to CentOS Linux servers running WHM/cPanel.

This entry was posted in cPanel/WHM, Guides & How To's, Linux VPS, VPS Hosting and tagged , , , , , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Questions? We're here to help.