Req #54824 [Sus->Wfx]: different php.ini Paths for Pools

From: Date: Sat, 08 Oct 2011 14:20:26 +0000
Subject: Req #54824 [Sus->Wfx]: different php.ini Paths for Pools
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164149@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:             Suspended
+Status:             Wont fix
 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:

Sorry, this is not possible to do this.

The only way is to start different FPM instances.


Previous Comments:
------------------------------------------------------------------------
[2011-07-05 18:04:20] fat@php.net

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.

------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#164149) next »