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]