php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3046 standalone php -q ignores expose_php so test/testall shows fail all
Submitted: 1999-12-25 01:55 UTC Modified: 1999-12-25 08:59 UTC
From: apis at visi dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Latest CVS (25/12/1999) OS: Solaris 7
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: apis at visi dot com
New email:
PHP Version: OS:

 

 [1999-12-25 01:55 UTC] apis at visi dot com
standalone php -q used by test/testall will fail all tests even
though tests are actually passing because the new expose_php
is not set to false and the output will contain
X-Powered-By: PHP *version* in the header and the
test scripts do not expect same.
There seems to be logic to check for expose_php in mod_php3.c but
under the php -q case in main.c, no logic check is
done for expose_php.
   I did a quick workaround in main.c:1133  by just setting
php3_ini.expose_php = 0; and then a re-compile and
test/testall then show they are actually passing.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-25 08:59 UTC] rasmus at cvs dot php dot net
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 04:01:34 2024 UTC