Re: Php 4.3.0 and Mail() function
| From: | Rick Widmer | Date: | Thu, 02 Jan 2003 00:08:30 +0000 |
| Subject: | Re: Php 4.3.0 and Mail() function | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129888@lists.php.net to get a copy of this message | ||
At 02:07 AM 1/2/03 +0800, Jason Wong wrote:
On Thursday 02 January 2003 01:26, Carl Bélanger wrote: Exactly!! "checking for sendmail... no" I've browsed the configure's help and I can't find an option to specify the path to sendmail (which is not at a regular place as we run qmail). Is the a "--with-sendmail-path" option or something like that?I don't believe there is one. At the very least you can: touch /usr/sbin/sendmail which creates an empty file where ./configure expects to find sendmail.
qmail comes with a wrapper called sendmail which emulates sendmail. I'm not sure where php's configure expects to find sendmail but you can try copying/linking the wrapper to /usr/lib and/or /usr/sbin.This is best: ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail Now any program expecting to find sendmail in the default location will find the Qmail wrapper instead, and will work. Rick