PHP handlers

How to change the Handlers

Changing the handler on cPanel is very easy to do and only takes seconds. Log into WHM and navigate to: Main >> Service Configuration >> Configure PHP and SuExec

You simply select your PHP handler choice from the drop-down menu. Then hit “Save New Configuration”.

List of PHP Handlers

  • DSO (mod_php) ==> Dynamic Shared Object         (   PHP scripts will run as the Apache user, which is the user: ‘nobody’)
  • CGI ==> Common Gateway Interface
  • suPHP
  • FASTCGI

 

Comparison Graph

DSO CGI SUPHP FASTCGI
Low CPU usage
Low Memory consumption
Runs PHP as site owner instead of Apache
only w/ suEXEC
Good security

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s