RE: [PHP-INST] Re: Warning: mail() is not supported in this PHP build
| From: | Scott Ecker | Date: | Fri, 07 Dec 2001 15:33:22 +0000 |
| Subject: | RE: [PHP-INST] Re: Warning: mail() is not supported in this PHP build | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5233@lists.php.net to get a copy of this message | ||
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:yasuo_ohgaki@yahoo.com]
Sent: Friday, December 07, 2001 1:26 AM
To: php-install@lists.php.net; 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: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net