Re: Warning: mail() is not supported in this PHP build

From: Date: Fri, 07 Dec 2001 09:26:15 +0000
Subject: Re: Warning: mail() is not supported in this PHP build
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5226@lists.php.net to get a copy of this message
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

« previous php.install (#5226) next »