From:             [EMAIL PROTECTED]
Operating system: RH 6.1
PHP version:      4.0.4pl1
PHP Bug Type:     Apache related
Bug description:  shebang appearing with suexec

I have installed php-4.0.4pl1 and apache_1.3.14, but there
is a problem with suexec. I have a php script that looks
something like this:

#!/usr/local/bin/php
<?
  echo "hello\n";
?>

When I run it from a shell (./something.php) it just prints
the content-type header and "hello", but when it's started
by suexec it also outputs the "#!/usr/local/bin/php". I
have not been able to find any mention of this problem
anywhere, so I'm quite baffled. If this isn't a bug, I'd
appreciate some feedback on what I'm doing wrong. Thank you.

//Círdan



-- 
Edit Bug report at: http://bugs.php.net/?id=9475&edit=1



-- 
PHP Development 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]

Reply via email to