ctrl

Member
May 23, 2012
9
0
51
cPanel Access Level
Root Administrator
I have read a few guides and checked the documentation,

I have 2 production servers that are still on DSO.

Will the utility within cPanel Service config > "Configure PHP and SuExec" handle everything for converting to suPHP handler as of now or will I need to run any shell commands to change permissions?

Using latest cPanel.

Thanks
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello ctrl,

We do not automatically run any conversions to change files and folders nor .htaccess content on a change to suPHP handler. This would be a liability to perform, since the user might decide to change back to DSO afterward and sites would not then work and there's no way under DSO to even know which files or folders will require higher permissions.

If you'd like to follow a guide for suPHP, a very long time ago I wrote one under my non-staff account:

http://forums.cpanel.net/f5/switching-suphp-160421.html#post672630

Thanks!
 

ctrl

Member
May 23, 2012
9
0
51
cPanel Access Level
Root Administrator
Tristan,

Thanks for your reply, I also had you post opened next to this tab.

If I change the handler in cPanel will it be fact that any account created from then on would be using it and any existing account will still work as is?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
No, any account will not work as is. Changes may well need to be made outlined in that post. The prior account likely had permissions set higher for some files to run, so those permissions need to be reduced for suPHP not to throw errors. Some sites likely had .htaccess entries with php_value and php_flag in them, since DSO doesn't allow individual php.ini files. Those sites will throw a 500 Internal Server Error after the handler change until the php_value and/or php_flag entries are removed from .htaccess.

New sites will work if the new sites use the right permissions and don't place php_value or php_flag entries into their .htaccess files.