Edit report at https://bugs.php.net/bug.php?id=54309&edit=1

 ID:                 54309
 Updated by:         f...@php.net
 Reported by:        michael at kazenonline dot com
 Summary:            Multiple environment variables for PHP_ADMIN_VALUE
                     only accepts last value
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            FPM related
 Operating System:   Linux
 PHP Version:        5.3.6
-Assigned To:        
+Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------
[2011-03-18 17:31:27] michael at kazenonline dot com

Description:
------------
If you wanted to specify multiple PHP_ADMIN_VALUE environment variables, such 
as 
(nginx config):

fastcgi_param PHP_ADMIN_VALUE "sendmail_from=Me";
fastcgi_param PHP_ADMIN_VALUE "sendmail_path=/usr/sbin/sendmail -f m...@me.com";

then only the second one gets picked up (probably because as an environment 
variable, the last one is clobbering over the first one(s)).



Expected result:
----------------
Respect multiple PHP_ADMIN_VALUE variables, or perhaps read in environment 
variables like PHP_ADMIN_VALUE[variable_name], so that this would work:

fastcgi_param PHP_ADMIN_VALUE[sendmail_from] "me";
fastcgi_param PHP_ADMIN_VALUE[sendmail_path] "/usr/sbin/sendmail -f 
m...@me.com";




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=54309&edit=1

Reply via email to