PHP 4.0 Bug #9475: shebang appearing with suexec

From: Date: Tue, 27 Feb 2001 10:29:54 +0000
Subject: PHP 4.0 Bug #9475: shebang appearing with suexec
Groups: php.dev 
Request: Send a blank email to php-dev+get-47605@lists.php.net to get a copy of this message
From: cirdan@hem2.passagen.se 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

« previous php.dev (#47605) next »