PHP and suEXEC Configuration Questions

webdatago

Member
Jan 23, 2015
17
0
1
cPanel Access Level
Root Administrator
Can you please give us step in how to configure PHP and suEXEC Configuration under WHM >> MultiPHP Manager" to able to use PHP 5 Handler: suphp and Apache suEXEC: on

Regards
Jonathan
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello Jonathan,

You can use the "PHP Handlers" tab in "WHM >> MultiPHP Manager" to change your PHP handlers for each PHP version. The MultiPHP Manager for WHM feature is documented at:

MultiPHP Manager for WHM - Documentation - cPanel Documentation

Regarding suexec, you can customize your EasyApache 4 profile to include "mod_suexec" via the Apache Modules section in "WHM Home » Software » EasyApache 4".

Let us know if this helps.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
You can click on "Customize" to customize your existing packages, then choose "Apache Modules" on the left. Search for "suexec" and drag the icon over to enable it if it's not already enabled.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

You can install the suPHP package using the same steps you used to install suexec, except you'd search for suphp.

Thank you.
 

webdatago

Member
Jan 23, 2015
17
0
1
cPanel Access Level
Root Administrator
we have not set any permission if so how can we set persmission for the directory, Its our own website that we need to upload customers picture on their Account page.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
if we access a website through http://ip/~usename on our cpanel we get "No supported".. sample site - Removed -

Can you please check and guide us in how to correct this issue
Hello,

The "Not Supported" message will occur when using the "CGI" handler with Apache Mod_Userdir. You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir. Documentation on selecting PHP handlers with EasyApache 4 is available at:

Manage PHP Handlers in EasyApache 4 - EasyApache 4 - cPanel Documentation

Thank you.