Hello, I am using suexec with apache 1.3.22. When I try to use PHP as a cgi-script instead of an external parser, I get this annoying #!/usr/local/bin/php on the top of my page. I found in 4.0.6 if you goto line 702 in sapi/cgi/cgi_main.c and change
} else if (file_handle.handle.fp && file_handle.handle.fp!=stdin) { to this: } if (file_handle.handle.fp && file_handle.handle.fp!=stdin) { It fixes the problem, however in 4.1.0 their is no such code. Being able to execute php inside the suexec sandbox is very attractive. Does anybody know how to patch 4.1.0. Thanks, ------------------------------ Brandon Stone UNIX Systems Administrator Amherst College [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]