PHP 4.0 Bug #9475 Updated: shebang appearing with suexec
| From: | cirdan at hem2 dot passagen dot se | Date: | Fri, 02 Mar 2001 10:03:16 +0000 |
| Subject: | PHP 4.0 Bug #9475 Updated: shebang appearing with suexec | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47775@lists.php.net to get a copy of this message | ||
ID: 9475
User Update by: cirdan@hem2.passagen.se
Old-Status: Open
Status: Closed
Old-Bug Type: Apache related
Bug Type: Unknown/Other Function
Description: shebang appearing with suexec
Nevermind....
But I think --enable-discard-path should be mentioned all
over the place, or at least in the section on how to
set up php with suexec.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-27 05:29:54] cirdan@hem2.passagen.se
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 "hellon";
?>
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9475