Bug #71234 [Asn->Csd]: INI files are loaded even invoked as -n --version
| From: | bwoebi@php.net | Date: | Sun, 16 Oct 2016 13:41:49 +0000 |
| Subject: | Bug #71234 [Asn->Csd]: INI files are loaded even invoked as -n --version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204830@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71234&edit=1
ID: 71234
Updated by: bwoebi@php.net
Reported by: miloslav dot hula at gmail dot com
Summary: INI files are loaded even invoked as -n --version
-Status: Assigned
+Status: Closed
Type: Bug
Package: phpdbg
PHP Version: 7.0.1
Assigned To: bwoebi
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d82da7de3a460f1eee3d34448be79bca3de7abc1
Log: Fixed bug #71234 (INI files are loaded even invoked as phpdbg -n --version)
Previous Comments:
------------------------------------------------------------------------
[2015-12-30 02:52:34] laruence@php.net
@bob, I attached a patch, as you are the maintainer of phpdbg, could you please have a look? thanks
------------------------------------------------------------------------
[2015-12-30 02:52:00] laruence@php.net
The following patch has been added/updated:
Patch Name: bug71234.patch
Revision: 1451443920
URL: https://bugs.php.net/patch-display.php?bug=71234&patch=bug71234.patch&revision=1451443920
------------------------------------------------------------------------
[2015-12-30 02:38:08] laruence@php.net
I see, I made a mistake, you are right, sapi/cli is not affected.
------------------------------------------------------------------------
[2015-12-30 01:11:05] bwoebi@php.net
I'm not sure, but looks like a bug to me in CLI SAPI then too, when order is mattering?
------------------------------------------------------------------------
[2015-12-29 10:45:40] miloslav dot hula at gmail dot com
I don't understand the example you posted.
When I'm trying:
strace /home/milo/php/php-7.0.1 -n --version 2>&1 | less
strace /home/milo/php/php-cgi-7.0.1 -n --version 2>&1 | less
There are no INI loadings in system calls trace.
Btw. order of -n and --version matters.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71234
--
Edit this bug report at https://bugs.php.net/bug.php?id=71234&edit=1