Feedback should probably be sent to the suphp mailing list.
Everything here Works For Me [TM]. No warranty.
I tried to run suphp from commandline, got a number of errors on env variables that I should set which I fixed, then a segfault. Turns out that for the PHP_VERSION getenv call the returncode is not checked.
Now my C skills are a bit rusty (about 10 years worth of rust), but I think this patch should fix this issue.
/usr/bin/php, or whatever the path to php is
configured to be, instead of using the paths to php4 and php5.
This patch fixes that, although probably not in the most elegant way. As I said, my C is a bit rusty. :)