|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-12-22 12:46 UTC] daeken at hotmail dot 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' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 11:00:01 2025 UTC |
This has been documented. The user was actually confused between CLI and CGI as only CGI prints HTTP headers. Simply --enable-cli does not mean PHP will for sure copy sapi/cli/php to {prefix}/bin/php. Anyway, this is now documented/closed.