ID: 9041
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *Configuration Issues
Description: Extra #! at top of web output.
The retarded thing about this is that the EXACT SAME binary works fine when Apache
calls it as a CGI. A simple /bin/sh CGI on both machines works correctly.
I'm out of clues.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-31 17:52:09] [EMAIL PROTECTED]
Hello.
I'm running PHP4 as a CGI under Netscape Enterprise.
It's compiled with:
'./configure' '--prefix=/opt/php' '--with-config-file-path=/opt/php/etc'
'--disable-pear' '--enable-discard-path' '--with-mysql=no' '--enable-trans-sid'
'--with-oci8=/opt/oracle/8.1.7'
Whenever I call a .cgi that has the #!/path/to/php syntax at the top, the output
always has a '#!/path/to/php' line at the top.
--- snip ----
#!/opt/php/bin/php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head><STYLE TYPE="text/css"><!--
A { text-decoration: none; }
--- clip ----
My php.ini is pretty default. There's no doc_root specified when this happens.
I would think that PHP wouldn't want to include this extra line.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9041
--
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]