Skip to content

Commit cc5b61f

Browse files
marcovtwoutcmb69
andauthored
Cannot set mail.force_extra_parameters as PHP_INI_PERDIR (#1081)
However, it can be set in `httpd.conf`. --------- Co-authored-by: Christoph M. Becker <[email protected]>
1 parent 9b26644 commit cc5b61f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

appendices/ini.list.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
<row>
453453
<entry>mail.force_extra_parameters</entry>
454454
<entry>&null;</entry>
455-
<entry>&php.ini; only</entry>
455+
<entry><constant>INI_SYSTEM</constant></entry>
456456
<entry></entry>
457457
</row>
458458
<row>

reference/mail/ini.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<row>
3232
<entry><link linkend="ini.mail.force_extra_parameters">mail.force_extra_parameters</link></entry>
3333
<entry>NULL</entry>
34-
<entry><constant>INI_SYSTEM</constant>|<constant>INI_PERDIR</constant></entry>
34+
<entry><constant>INI_SYSTEM</constant></entry>
3535
<entry></entry>
3636
</row>
3737
<row>
@@ -106,6 +106,11 @@
106106
parameters to the sendmail binary. These parameters will always replace
107107
the value of the 5th parameter to <function>mail</function>.
108108
</para>
109+
<simpara>
110+
In addition to the default behavior for <constant>INI_SYSTEM</constant>,
111+
this value can also be set with <literal>php_value</literal>
112+
in <filename>httpd.conf</filename> (but this is not recommended).
113+
</simpara>
109114
</listitem>
110115
</varlistentry>
111116

0 commit comments

Comments
 (0)