#20751 [Com]: Mail: undefined function

From: Date: Mon, 02 Dec 2002 16:55:18 +0000
Subject: #20751 [Com]: Mail: undefined function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26403@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: I have resolved the problem adding a symbolic link from /var/qmail/bin/sendmail to /usr/bin/sendmail and now it works. The configure script doesn't search in /usr/sbin but only in /usr/bin. Please correct this problem Previous Comments: ------------------------------------------------------------------------ [2002-12-02 03:04:30] busia@tiscalinet.it Yes, it works. ------------------------------------------------------------------------ [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..) ------------------------------------------------------------------------ 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

« previous php.bugs (#26403) next »