Bug #74564 [NEW]: can not override variable sendmail_path

From: Date: Tue, 09 May 2017 19:05:33 +0000
Subject: Bug #74564 [NEW]: can not override variable sendmail_path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209031@lists.php.net to get a copy of this message
From:             admin at support dot od dot ua
Operating system: FreeBSD 11-STABLE
PHP version:      5.6.30
Package:          *Mail Related
Bug Type:         Bug
Bug description:can not override variable sendmail_path

Description:
------------
I'm using nginx + php-fpm.

In php 5.6.30 in the section of a particular php pool, you can not
override php_admin_value [sendmail_path].

In the php-fpm pool section I added: php_admin_value[sendmail_path] =
/usr/sbin/sendmail -t -i -f www@my.domain.com
But, on Phpinfo, the sendmail_path variable has a value
"/usr/sbin/sendmail -t -i -f webmaster@_SERVER["SERVER_NAME"]"
Phpinfo url is http://cacti.cyberlan.net/phpinfo_5723489758936745.php

I also see this problem on Debian - Debian 3.16.39-1+deb8u2 (2017-03-07)
x86_64 

In php 5.6.28 this override works.



-- 
Edit bug report at https://bugs.php.net/bug.php?id=74564&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74564&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74564&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74564&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74564&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74564&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74564&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74564&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74564&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74564&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74564&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74564&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74564&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74564&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74564&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74564&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74564&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74564&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74564&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74564&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74564&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#209031) next »