Bug #73904 [Asn->Csd]: php-cgi fails to load -c specified php.ini file
| From: | ab@php.net | Date: | Thu, 12 Jan 2017 13:18:25 +0000 |
| Subject: | Bug #73904 [Asn->Csd]: php-cgi fails to load -c specified php.ini file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206558@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73904&edit=1
ID: 73904
Updated by: ab@php.net
Reported by: danothy at gmail dot com
Summary: php-cgi fails to load -c specified php.ini file
-Status: Assigned
+Status: Closed
Type: Bug
Package: *Configuration Issues
Operating System: Windows 10
PHP Version: 7.1.0
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9f3b3a55fec84609a4e64321413fe80f0ecbd667
Log: Fixed bug #73904 php-cgi fails to load -c specified php.ini file
Previous Comments:
------------------------------------------------------------------------
[2017-01-11 12:05:49] danothy at gmail dot com
Apologies, I left out a piece of information, and this may be an untamed ornithoid pursuit. Failure
to load php.ini file occurs when
> set PHP_FCGI_CHILDREN=1
> php-cgi.exe -b address:port -c conf\php.ini
is run. Not setting the PHP_FCGI_CHILDREN environment variable in the start-up script leads to
loading of the php.ini file as expected.
------------------------------------------------------------------------
[2017-01-11 04:45:18] krakjoe@php.net
Assigning to you Anatol: Could you take a quick look at this please ?
------------------------------------------------------------------------
[2017-01-10 11:22:07] danothy at gmail dot com
Description:
------------
Running
> php-cgi.exe -b address:port -c conf\php.ini
fails to load the specified php.ini file, with phpinfo() showing "Loaded Configuration File |
(none)"
Test script:
---------------
<?php phpinfo(); ?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73904&edit=1