Bug #10390: PHP CGI with AOLServer displays shebang
| From: | rfinnie at kefta dot com | Date: | Thu, 19 Apr 2001 01:03:01 +0000 |
| Subject: | Bug #10390: PHP CGI with AOLServer displays shebang | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51909@lists.php.net to get a copy of this message | ||
From: rfinnie@kefta.com
Operating system: FreeBSD 3.2
PHP version: 4.0 Latest CVS (18/04/2001)
PHP Bug Type: Other web server
Bug description: PHP CGI with AOLServer displays shebang
This bug seems related to 9475. When using perl, sh, etc on aolserver as a cgi, the output is
normal. However, if I use PHP compiled as a CGI (with #!/path/to/php as the first line), the
shebang is displayed as the first line of the response after the headers are sent.
Configure line:
'./configure' '--prefix=/usr/local/rf_php'
'--with-config-file-path=/usr/local/rf_php/lib'
'--with-exec-dir=/usr/local/rf_php/bin' '--with-imap'
'--with-gd=/usr/local' '--with-mysql=/usr/local/mysql' '--with-db'
'--enable-discard-path'
Ryan Finnie
--
Edit Bug report at: http://bugs.php.net/?id=10390&edit=1