Doc #71901 [Opn->Ver]: mail.force_extra_parameters is not PHP_INI_PERDIR
| From: | cmb@php.net | Date: | Sat, 28 Jan 2017 13:51:00 +0000 |
| Subject: | Doc #71901 [Opn->Ver]: mail.force_extra_parameters is not PHP_INI_PERDIR | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14382@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71901&edit=1
ID: 71901
Updated by: cmb@php.net
Reported by: slfyst at gmail dot com
Summary: mail.force_extra_parameters is not PHP_INI_PERDIR
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Mail related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: stas
Block user comment: N
Private report: N
New Comment:
Actually, mail.force_extra_parameters is declared as
PHP_INI_SYSTEM|PHP_INI_PERDIR[1], but OnChangeMailForceExtra()[2]
prevents it from being changed in .htaccess (not sure whether
changing it in httpd.conf and .user.ini is allowed or not).
The respective restriction has been introduced as of PHP 5.2.0,
with commit cd836153[3].
Stas, can you please clarify whether changing in httpd.conf and
.user.ini is allowed or not, and then assign this ticket to me.
[1] <https://github.com/php/php-src/blob/PHP-7.1.1/main/main.c#L601>
[2] <https://github.com/php/php-src/blob/PHP-7.1.1/main/main.c#L492-L499>
[3] <https://github.com/php/php-src/commit/cd836153>
Previous Comments:
------------------------------------------------------------------------
[2016-03-25 17:36:57] slfyst at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/mail.configuration
---
The above page states that mail.force_extra_parameters is changeable by PHP_INI_PERDIR. However I
find this not to be the case, it looks like it's php.ini only.
Also, this page states that mail.force_extra_parameters is changeable by php.ini only, which
contradicts the above page: http://php.net/manual/en/ini.list.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71901&edit=1