phpsuexe =internal server error alwayse

wheni use the updateapache function of whm and choose phpsuexe it alwayse causes phpnot to work and alwayse gives

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

All php scripts should be chmod to 644 not 755
( also make sure scripts or directories are not chmod to 777, php should be 644 and directories should be 755 )

Most likely there is something in the .htaccess files, that is confliting with it. ( 95% of the time it is things in the .htaccess file )
Check it for php_value and remove them. ( those things should be changed in a php.ini file instead after using phpsuexec )

Owner needs read permissions of the file
Group cannot have write or execute permissions to the file
Everyone cannot have write or execute permissions to the file
Directory also needs to be owned by the user and read and execute permissions as a minimum
Directory cannot have writeable for group and everyone

Pretty much, if it's world-writeable, it's going to not work.

Additionally so - phpsuexec means php is compiled as a CGI, not as a module. So you also lose the require() function, and some scripts may require this. Keep this in mind if you ever come across it.

I think there might be a few other things, I forget ... :/

God is in his own heaven and all is right with the world.
http://magi.net.au - Have some fun!