I'll be more clear.  The ./configure and compile output of PHP both confirm
that sendmail (wrapper) was detected.  Other programs that rely on the
sendmail wrapper being present in /usr/lib and /usr/sbin work fine
(majordomo for instance).  Either the wrapper is flawed, or there is
something else I'm missing in my PHP compile.  Is there a way to use qmail
binaries with PHP rather than expecting sendmail on every machine?

-Scott

-----Original Message-----
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 1:26 AM
To: [EMAIL PROTECTED]; Scott Ecker
Subject: [PHP-INST] Re: Warning: mail() is not supported in this PHP
build


Scott Ecker wrote:

> Hi,
>
> I am using QMAIL (with sendmail wrappers installed, tested, and
confirmed),
> and I still can't use the mail() function.    I get the following error:
> "Warning: mail() is not supported in this PHP build".  I have built the
> source from scratch with the following commands:
>
> CFLAGS='-O2 -I /usr/include/openssl' ./configure \
>    --with-apache=/usr/local/src/apache_1.3.22 \
>    --with-mysql=/var/mysql --enable-memory-limit=yes \
>    --enable-debug=no --enable-track-vars
> make
> make install
>
> What am I missing here?
>
> Using:
>   Apache 1.3.22
>   mysql 3.23.46
>   php 4.0.5
>   openssl 0.9.6b
>   mod_ssl 2.8.5
>
> -Scott
>
>

I guess you have not installed sendmail wrapper.

PHP detects /usr/lib/sendmail or /usr/sbin/sendmail during configure.

Simplest solution to enable mail support is installing sendmail
wrapper that comes with qmail.

Regards,
--
Yasuo Ohgaki


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to