Bug #73904 [Asn]: php-cgi fails to load -c specified php.ini file
| From: | danothy at gmail dot com | Date: | Wed, 11 Jan 2017 12:05:49 +0000 |
| Subject: | Bug #73904 [Asn]: php-cgi fails to load -c specified php.ini file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206516@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
User updated by: danothy at gmail dot com
Reported by: danothy at gmail dot com
Summary: php-cgi fails to load -c specified php.ini file
Status: Assigned
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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