Hello Jason,

Monday, September 10, 2001, 12:26:30 AM, you wrote:

>> I drowing here and need a life-ring!  I have a site relying heavily on
>> e-mail registration, forums, etc. and mail() is broken in my php
>> install.  I've been using an smtp server other than sendmail, but
>> based on recommendations I have removed that smtp server, removed php,
>> installed sendmail, reinstalled php, and php still complains that
>> "Warning: mail() is not supported in this PHP build" and sendmail is
>> clearly in my /var/lib/php.ini sendmail_path and the location is
>> correct.  I can send mail from the command line, but not via php's
>> mail()
>>
>> Need Heeeeeelp! real bad.

JB> Hi

JB> Can you please provide more info about your php version, operating system,
JB> installation method, configure line (if compiled from source) etc?



Yes, running RH ditribution 7.1, PHP 4.0.6 compile from source, and
sendmail 8.10.11.0.rpm (note that I would like to use my dmail smtp
server and only installed sendmail to troublshoot this problem.

here in my php build:
----------------------------------
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/usr/local/src/Apachetoolbox-1.5.38/apache_1.3.20 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-safe-mode \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
 --with-gd="/usr/local" \
--with-zlib \
--enable-gd-native-tt \
--with-t1lib="/usr/local/lib/php/t1libs" \
--with-jpeg-dir="/usr/local" \
--with-png-dir="/usr/local" \
--with-zlib-dir="/usr/local" \
--with-ttf \
--with-freetype-dir="/usr/local" \
 --with-imap=/usr/local \
 --with-mhash=/usr/local \
 --with-mcrypt=/usr/local \
 --with-unixODBC=/usr/local/unixODBC \
 --with-mysql \
 ------------------------------------

 Here are the sendmail_path entries I've tried in my php.ini:

-----
; For Unix only.  You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =
----
sendmail_path = /usr/sbin
----
sendmail_path = ".:/usr/sbin"
----

After each change to my php.ini, I restart my Apache (1.3.20) server
and run phpinfo() to ensure changes are accpeted - they always are.







-- 
Best regards,
 Badger                            mailto:[EMAIL PROTECTED]


-- 
PHP General 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