From: jholmes at tvmedia dot ca
Operating system: Linux 2.6.18
PHP version: 5.2.5
PHP Bug Type: Mail related
Bug description: default for configuration option 'sendmail_path' wrong
Description:
------------
The default value for configuration option 'sendmail_path' is not sane.
In previous versions of php, the default value was '/usr/sbin/sendmail -t
-i ' which should work on most *nix systems
Since I've upgraded to 5.2.5, the default value is '-t -i ', which isn't
going to work on anything.
PHP was compiled from source on this system.
Reproduce code:
---------------
>From the command line (ditto for SAPI module):
linux:~# echo "<?php var_dump(ini_get('sendmail_path')); ?>" | php -n
Expected result:
----------------
string(25) "/usr/sbin/sendmail -t -i "
Actual result:
--------------
string(7) " -t -i "
--
Edit bug report at http://bugs.php.net/?id=43591&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43591&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43591&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43591&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43591&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43591&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43591&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43591&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43591&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43591&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43591&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43591&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43591&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43591&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43591&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43591&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43591&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43591&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43591&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43591&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43591&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43591&r=mysqlcfg