mail.force_extra_parameters
Nobody has claimed this yet.
- Dominant language
- XML
- Stars
- 596
- Forks
- 890
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 55
Description
Description
The following code:
<?php
phpinfo();
With a .user.ini in the same directory as document root containing:
mail.force_extra_parameters="-f me@mydomain.com"
mail.log="/tmp/dmail.log"
Resulted in this output:
...
mail.force_extra_parameters | no value | no value
mail.log | /tmp/dmail.log | no value
...
But I expected this output instead:
...
mail.force_extra_parameters | -f me@mydomain.com | no value
mail.log | /tmp/dmail.log | no value
...
Even though both mail.force_extra_parameters and mail.log are PHP_INI_SYSTEM|PHP_INI_PERDIR.
Note: This is with php8.1-fpm - but I have tried with php7.4-fpm too. With mod_php I have tried php_admin_value with the mail.force_extra_parameters and it does work.
PHP Version
PHP 8.2.0
Operating System
Ubuntu 20.0.4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report with a .user.ini containing mail.force_extra_parameters and mail.log, then inspect the phpinfo() output under php8.1-fpm. Compare the observed values with the PHP manual's descriptions of these directives and their PHP_INI_SYSTEM/PHP_INI_PERDIR modes. Done means the documentation accurately explains the supported configuration behavior and expected values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100