Req #54824 [Asn->Sus]: different php.ini Paths for Pools
| From: | fat@php.net | Date: | Tue, 05 Jul 2011 22:04:20 +0000 |
| Subject: | Req #54824 [Asn->Sus]: different php.ini Paths for Pools | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161616@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54824&edit=1
ID: 54824
Updated by: fat@php.net
Reported by: dbetz at df dot eu
Summary: different php.ini Paths for Pools
-Status: Assigned
+Status: Suspended
Type: Feature/Change Request
Package: FPM related
Operating System: Any
PHP Version: 5.3.6
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
It's not possible to make this easily.
In fact php.ini files are read at FPM startup (it's also true for other sapi).
When children are forked, the ini reading has already been made. That's why you
can specify ini options throught the php(_admin)?_value directive.
I keep this in mind to try to find an easy and elegant solution.
Previous Comments:
------------------------------------------------------------------------
[2011-05-18 13:41:39] dbetz at df dot eu
Description:
------------
Hello,
currently there is no availability to add additional php.ini files per pool.
It would be nice to set an PHPiniDir/PHPRC per pool in php-fpm.conf or that fpm reads and works with
env['PHPRC'] defined in pool configuration.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54824&edit=1