#20751 [Com]: Mail: undefined function

From: Date: Mon, 02 Dec 2002 21:48:27 +0000
Subject: #20751 [Com]: Mail: undefined function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26422@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: If I remove the link the config doesn't find sendmail. Previous Comments: ------------------------------------------------------------------------ [2002-12-02 12:19:22] derick@php.net It does already search there: AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib) What does config.log say about sendmail when you remove that link again? ------------------------------------------------------------------------ [2002-12-02 10:55:18] busia@tiscalinet.it 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 ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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 (#26422) next »