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: 2021-07-06 20:40 UTC
From: admin at support dot od dot ua Assigned: cmb (profile)
Status: Closed Package: FPM related
PHP Version: 5.6.30 OS: FreeBSD 11-STABLE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at support dot od dot ua
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-14 19:13 UTC] cmb@php.net
-Package: *Mail Related +Package: FPM related
 [2021-07-06 16:41 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-06 16:41 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-07-06 17:53 UTC] admin at support dot od dot ua
-Status: Feedback +Status: Assigned
 [2021-07-06 17:53 UTC] admin at support dot od dot ua
I think, after 4 years, this bug is no longer relevant ...
 [2021-07-06 20:40 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2021-07-06 20:40 UTC] cmb@php.net
Thanks for the swift reply!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC