php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74564 can not override variable sendmail_path
Submitted: 2017-05-09 19:05 UTC Modified: 2017-05-14 19:13 UTC
From: admin at support dot od dot ua Assigned:
Status: Open Package: FPM related
PHP Version: 5.6.30 OS: FreeBSD 11-STABLE
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-05-09 19:05 UTC] admin at support dot od dot ua
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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-14 19:13 UTC] cmb@php.net
-Package: *Mail Related +Package: FPM related
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Dec 13 20:01:26 2018 UTC