#20751 [Com]: Mail: undefined function
| From: | busia at tiscalinet dot it | Date: | Mon, 02 Dec 2002 09:04:31 +0000 |
| Subject: | #20751 [Com]: Mail: undefined function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26369@lists.php.net to get a copy of this message | ||
ID: 20751
Comment by: busia@tiscalinet.it
Reported By: busia@tiscali.it
Status: Feedback
Bug Type: Mail related
Operating System: Linux Redhat 7.2
PHP Version: 4.3.0RC2
New Comment:
Yes, it works.
Previous Comments:
------------------------------------------------------------------------
[2002-12-01 17:00:38] sniper@php.net
Try this on your cmd line:
# test -f /sbin/sendmail && echo "works"
(it should print 'works')
------------------------------------------------------------------------
[2002-12-01 16:45:53] busia@tiscalinet.it
Qmail is configured with virtual links from:
/sbin/sendmail
/usr/sbin/sendmail
/usr/lib/sendmail
to /var/qmail/bin/sendmail
as suggested in qmail documentation
------------------------------------------------------------------------
[2002-12-01 16:42:46] busia@tiscalinet.it
Yes. The user is root.
------------------------------------------------------------------------
[2002-12-01 16:28:41] sniper@php.net
Does the user you're compiling PHP as have rights to access the
sendmail binary on your system?
(qmail does add some wrapper binary for sendmail, and it works fine
here..)
------------------------------------------------------------------------
[2002-12-01 16:25:35] busia@tiscalinet.it
The same problem is also on an other server with a similar
configuration (but with redhat 7.0):
The the servers config.log says:
--------------------------------
configure:10743: checking for sendmail
configure:10776: result: no
--------------------------------
Why? Qmail is installed, seems that the new php version doesn't find it
but 4.2.3 did!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20751
--
Edit this bug report at http://bugs.php.net/?id=20751&edit=1