php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21211 Quiet mode does not work with CGI version
Submitted: 2002-12-26 22:38 UTC Modified: 2002-12-26 22:42 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: david at acz dot org Assigned:
Status: Closed Package: Output Control
PHP Version: 4.3.0RC4 OS: Debian GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at acz dot org
New email:
PHP Version: OS:

 

 [2002-12-26 22:38 UTC] david at acz dot org
The quiet mode option (-q) does not work under CGI with version 4.3.0RC4:

$ echo '<? echo "hi\n"; ?>' | php -q
Content-type: text/html
X-Powered-By: PHP/4.3.0RC4

hi

PHP was compiled statically using "LDFLAGS=-all-static make".

$ php -m
[PHP Modules]
bcmath
bz2
ctype
curl
dba
dbx
dio
exif
ftp
gd
gettext
iconv
imap
mbstring
mcrypt
mhash
ming
mysql
openssl
overload
pcntl
pcre
posix
session
sockets
standard
tokenizer
wddx
xml
xmlrpc
zlib

[Zend Modules]

'./configure' '--with-config-file-path=/etc/php4/cgi' '--disable-shared' '--disable-debug' '--enable-versioning' '--with-regex=system' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--enable-exif' '--with-zlib' '--with-bz2' '--with-mcrypt' '--with-mhash' '--with-imap' '--with-mysql=/usr' '--with-openssl' '--with-expat' '--enable-ftp' '--with-curl' '--with-gettext' '--with-iconv' '--enable-mbregex' '--enable-mbstring' '--enable-bcmath' '--enable-sockets' '--enable-trans-sid' '--enable-wddx' '--enable-dba' '--with-gdbm' '--with-db3' '--with-cdb' '--enable-dio' '--enable-dbx' '--enable-pcntl' '--with-xml' '--with-xmlrpc' '--with-ming' '--prefix=/usr'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-26 22:42 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 09:01:29 2024 UTC