Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#47600 - [php] invalid default sendmail_path

Attached to Project: Arch Linux
Opened by Florian Pritz (bluewind) - Saturday, 02 January 2016, 23:08 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 02 January 2016, 23:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The default sendmail_path is incorrect leading to mail() not working.

`php -i | grep mail`
show this:
"sendmail_path => -t -i => -t -i"

while it should output something similar to
"sendmail_path => /usr/bin/sendmail -t -i => /usr/bin/sendmail -t -i"

Not sure how autodetection of this broke during build. Maybe there is no sendmail executable?

Workaround: Set the correct path ("/usr/bin/sendmail -t -i") in php.ini.

Edit: php 7.0.1-3
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 02 January 2016, 23:57 GMT
Reason for closing:  Fixed