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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to