#21145 [Bgs->Opn]: CLI version of PHP always prints HTTP headers.
| From: | philip@php.net | Date: | Sun, 22 Dec 2002 21:14:39 +0000 |
| Subject: | #21145 [Bgs->Opn]: CLI version of PHP always prints HTTP headers. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28218@lists.php.net to get a copy of this message | ||
ID: 21145
Updated by: philip@php.net
Reported By: daeken@hotmail.com
-Status: Bogus
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Linux - Debian Woody
PHP Version: 4CVS-2002-12-22 (stable)
New Comment:
Please explain to the doc team how to document this new behavior in
PHP, regarding the CLI/CGI build process. And the various problems
(such as this ncurses one) that may/will arise.
Previous Comments:
------------------------------------------------------------------------
[2002-12-22 12:55:46] daeken@hotmail.com
I just reconfigured with --enable-cli and recompiled with the same
results. It always says cgi in php -v, no matter if I configure it as a
CLI or not.
------------------------------------------------------------------------
[2002-12-22 12:49:55] daeken@hotmail.com
Just in case I wasn't clear enough on what HTTP headers where printed,
they follow:
Content-type: text/html
X-Powered-By: PHP/4.3.0-dev
------------------------------------------------------------------------
[2002-12-22 12:48:08] derick@php.net
try running "php -v" I bet you're using the CGI.
Not a bug -> bogus.
Derick
------------------------------------------------------------------------
[2002-12-22 12:46:22] daeken@hotmail.com
The CLI version of PHP always prints the headers. This may be related
to my configure settings, which follow.
'./configure' '--enable-bcmath' '--enable-pcntl'
'--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-tokenizer'
'--with-pear' '--with-curl' '--with-mysql' '--with-gettext'
'--with-mcrypt' '--with-mhash' '--with-ming'
'--with-ncurses=/root/ncurses-5.3' '--with-shmop' '--enable-sockets'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21145&edit=1