[PHP] the proverbial "mail() is not supported in this PHP build"

2001-09-09 Thread Badger

Hello ,

I'm afraid that I have the "mail() is not supported in this PHP build"
problem.  I have serached the archives to find an answer to this
problem, but can only find others with the same problem and no
solutions.

Please let me know how this can be fixed, it is a MAJOR headache !



-- 
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]




Re: [PHP] Fwd: Your message to Miki awaits moderator approval

2001-09-09 Thread Badger

Hello B.,

Sunday, September 09, 2001, 11:59:13 PM, you wrote:

BvO> ARGH.

BvO> I'm I the only person who gets these stupid messages?? Since when are PPL 
BvO> running mailman to collect mail from this or any other list??

BvO> I suppose someone installed and misconfigured mailman.. hope it stops soon.

BvO> Bye,



BvO> B.

>>Subject: Your message to Miki awaits moderator approval
>>From: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>X-Ack: no
>>Sender: [EMAIL PROTECTED]
>>X-BeenThere: [EMAIL PROTECTED]
>>X-Mailman-Version: 2.0.2
>>List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
>>List-Post: <mailto:[EMAIL PROTECTED]>
>>List-Subscribe: <http://canaan.co.il/mailman/listinfo/miki>,
>> <mailto:[EMAIL PROTECTED]?subject=subscribe>
>>List-Id: 
>>List-Unsubscribe: <http://canaan.co.il/mailman/listinfo/miki>,
>> <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
>>List-Archive: <http://canaan.co.il/pipermail/miki/>
>>Date: Mon, 10 Sep 2001 09:53:02 +0300
>>
>>Your mail to 'Miki' with the subject
>>
>> Re: [PHP] PHP Web Base Email
>>
>>Is being held until the list moderator can review it for approval.
>>
>>The reason it is being held:
>>
>> Message has implicit destination
>>
>>Either the message will get posted to the list, or you will receive
>>notification of the moderator's decision.



I get 'em too and just ignore.

-- 
Best regards,
 Badgermailto:[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]




[PHP] mail() ERROR - WHY, WHY, WHY

2001-09-09 Thread Badger

Hello ,


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 Heelp! real bad.

(beg, beg)
-- 
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]




Re[2]: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-10 Thread Badger

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 Heelp! 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,
 Badgermailto:[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]




Re[4]: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-10 Thread Badger

Hello David,

Monday, September 10, 2001, 1:02:37 AM, you wrote:

DR> On Mon, 10 Sep 2001 17:11, Badger wrote:

>> 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:
>> --

DR> 

>>
>>  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.


DR> this could be a big part of your problem - you need the full path to 
DR> sendmail, including the filename.

DR> For example, mine is 
DR> sendmail_path   =   /usr/sbin/sendmail -t -i 


David,

But I did do that already and it still doesn't work.  I hope there are other
ideas, I am staying on this until the problem is solved :-(

-- 
Best regards,
 Badgermailto:[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]




[PHP] Ramesus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-10 Thread Badger

This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 12:23:54 AM
Subject: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
Hello ,


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 Heelp! real bad.

(beg, beg)
-- 
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]

===8<===End of original message text===

I am desperate to get this working.   If anyone can tell me a way to
troubleshoot this problem, I'll be happy to pursue it myself.  I am
running the RedHat 7.1 distribution of Linux, Apache 1.3.20, php
4.0.6, and sendmail-8.10.11.  The Apache and php are src builds using
tarballs and the sendmail is an rpm - I am only using sendmail to
troubleshoot the problem, but I will eventually use dmail as my smtp
server.  All the above servers are on the sam machine.

I have turned logging on in my php.ini, but the mail() error does not
get written to the log file I specified, only to the Apache error log
- but the error is the same as that displayed in my browser when php
tries to call mail()  "Warning: mail() is not supported in this PHP build"

I've tried everything I can think of and recommendations from this
list...

I have removed php, removed sendmail, reinstalled sendmail,
reinstalled php:

here is 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 \
 --

 My php.ini is i the proper location and chnges get reloaded after
 reloading Apache - verified by phpinfo().  Here is the pertinent area
 of my php.ini file:

 ---

 sendmail_path = /usr/sbin/sendmail -t -i

 -
 Here are others that I've tried in my php.ini file:

 
 sendmail_path = /usr/sbin/sendmail
 ---

 sendmail_path = /usr/sbin
 --

 sendmail_path = ".:/usr/sbin/sendmail -t -i"

 --

 sendmail_path = ".:/usr/sbin/sendmail"


 

 sendmail_path = ".:/usr/sbin"
 --

 ;sendmail_path =   (default)

 --


 I still get the mail() error


 Please help me figure this one out.
 
-- 
Best regards,
 Badgermailto:[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]




[PHP] Rasmus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-10 Thread Badger

This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 11:34:45 AM
Subject: [PHP] Ramesus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 12:23:54 AM
Subject: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
Hello ,


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 Heelp! real bad.

(beg, beg)
-- 
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]

===8<===End of original message text===

I am desperate to get this working.   If anyone can tell me a way to
troubleshoot this problem, I'll be happy to pursue it myself.  I am
running the RedHat 7.1 distribution of Linux, Apache 1.3.20, php
4.0.6, and sendmail-8.10.11.  The Apache and php are src builds using
tarballs and the sendmail is an rpm - I am only using sendmail to
troubleshoot the problem, but I will eventually use dmail as my smtp
server.  All the above servers are on the sam machine.

I have turned logging on in my php.ini, but the mail() error does not
get written to the log file I specified, only to the Apache error log
- but the error is the same as that displayed in my browser when php
tries to call mail()  "Warning: mail() is not supported in this PHP build"

I've tried everything I can think of and recommendations from this
list...

I have removed php, removed sendmail, reinstalled sendmail,
reinstalled php:

here is 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 \
 --

 My php.ini is i the proper location and chnges get reloaded after
 reloading Apache - verified by phpinfo().  Here is the pertinent area
 of my php.ini file:

 ---

 sendmail_path = /usr/sbin/sendmail -t -i

 -
 Here are others that I've tried in my php.ini file:

 
 sendmail_path = /usr/sbin/sendmail
 ---

 sendmail_path = /usr/sbin
 --

 sendmail_path = ".:/usr/sbin/sendmail -t -i"

 --

 sendmail_path = ".:/usr/sbin/sendmail"


 

 sendmail_path = ".:/usr/sbin"
 --

 ;sendmail_path =   (default)

 --


 I still get the mail() error


 Please help me figure this one out.
 
-- 
Best regards,
 Badgermailto:[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]

===8<===End of original message text===

Sorry about the name misspell

-- 
Best regards,
 Badgermailto:[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]




[PHP] PROBLEM SOLVED - was [PHP] Rasmus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY]

2001-09-11 Thread Badger

This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 11:04:54 PM
Subject: [PHP] Rasmus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 11:34:45 AM
Subject: [PHP] Ramesus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
This is a forwarded message
From: Badger <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Monday, September 10, 2001, 12:23:54 AM
Subject: [PHP] mail() ERROR - WHY, WHY, WHY

===8<==Original message text===
Hello ,


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 Heelp! real bad.

(beg, beg)
-- 
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]

===8<===End of original message text===

I am desperate to get this working.   If anyone can tell me a way to
troubleshoot this problem, I'll be happy to pursue it myself.  I am
running the RedHat 7.1 distribution of Linux, Apache 1.3.20, php
4.0.6, and sendmail-8.10.11.  The Apache and php are src builds using
tarballs and the sendmail is an rpm - I am only using sendmail to
troubleshoot the problem, but I will eventually use dmail as my smtp
server.  All the above servers are on the sam machine.

I have turned logging on in my php.ini, but the mail() error does not
get written to the log file I specified, only to the Apache error log
- but the error is the same as that displayed in my browser when php
tries to call mail()  "Warning: mail() is not supported in this PHP build"

I've tried everything I can think of and recommendations from this
list...

I have removed php, removed sendmail, reinstalled sendmail,
reinstalled php:

here is 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 \
 --

 My php.ini is i the proper location and chnges get reloaded after
 reloading Apache - verified by phpinfo().  Here is the pertinent area
 of my php.ini file:

 ---

 sendmail_path = /usr/sbin/sendmail -t -i

 -
 Here are others that I've tried in my php.ini file:

 
 sendmail_path = /usr/sbin/sendmail
 ---

 sendmail_path = /usr/sbin
 --

 sendmail_path = ".:/usr/sbin/sendmail -t -i"

 --

 sendmail_path = ".:/usr/sbin/sendmail"


 

 sendmail_path = ".:/usr/sbin"
 --

 ;sendmail_path =   (default)

 --


 I still get the mail() error


 Please help me figure this one out.
 
-- 
Best regards,
 Badgermailto:[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]

===8<===End of original message text===

Sorry about the name misspell

-- 
Best regards,
 Badgermailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional 

Re: [PHP] Re: the proverbial "mail() is not supported in this PHP build"

2001-09-12 Thread Badger

Hello Richard,

Tuesday, September 11, 2001, 9:53:30 PM, you wrote:

RL> It's entirely possible your ISP turned it off on purpose to foil spammers...

RL> You *may* be able to http://php.net/exec sendmail and do an end-run around
RL> that, if they were not smart enough to close off that access...

RL> --
RL> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
RL> [EMAIL PROTECTED]
RL> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
RL> Volunteer a little time: http://chatmusic.com/volunteer.htm
RL> - Original Message -
RL> From: Badger <[EMAIL PROTECTED]>
RL> Newsgroups: php.general
RL> To: <[EMAIL PROTECTED]>
RL> Sent: Sunday, September 09, 2001 7:41 PM
RL> Subject: the proverbial "mail() is not supported in this PHP build"


>> Hello ,
>>
>> I'm afraid that I have the "mail() is not supported in this PHP build"
>> problem.  I have serached the archives to find an answer to this
>> problem, but can only find others with the same problem and no
>> solutions.
>>
>> Please let me know how this can be fixed, it is a MAJOR headache !
>>
>>
>>
>> --
>> Best regards,
>>  Badger  mailto:[EMAIL PROTECTED]
>>



Hello Richard,

I am my own "ISP," I run my own name, mail, and web servers behind a firewalled DSL
connection...but I did finally figure out the problem - thanks for
your input.

-- 
Best regards,
 Badgermailto:[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]




Re: [PHP] Re: Ramesus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-12 Thread Badger

Hello Richard,

Tuesday, September 11, 2001, 10:07:53 PM, you wrote:

RL> Did anybody disable the mail() function in PHP?

RL> What did  you put in php.ini to call sendmail?

RL> Are there any error messages in your Apache logs?

RL> Re-posting with Rasmus' name is probably not particularly useful...

RL> --
RL> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
RL> [EMAIL PROTECTED]
RL> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
RL> Volunteer a little time: http://chatmusic.com/volunteer.htm
RL> - Original Message -
RL> From: Badger <[EMAIL PROTECTED]>
RL> Newsgroups: php.general
RL> To: <[EMAIL PROTECTED]>
RL> Sent: Monday, September 10, 2001 1:34 PM
RL> Subject: Ramesus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY


>> This is a forwarded message
>> From: Badger <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> Date: Monday, September 10, 2001, 12:23:54 AM
>> Subject: [PHP] mail() ERROR - WHY, WHY, WHY
>>
>> ===8<==Original message text===
>> Hello ,
>>
>>
>> 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 Heelp! real bad.
>>
>> (beg, beg)
>> --
>> 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]
>>
>> ===8<===End of original message text===
>>
>> I am desperate to get this working.   If anyone can tell me a way to
>> troubleshoot this problem, I'll be happy to pursue it myself.  I am
>> running the RedHat 7.1 distribution of Linux, Apache 1.3.20, php
>> 4.0.6, and sendmail-8.10.11.  The Apache and php are src builds using
>> tarballs and the sendmail is an rpm - I am only using sendmail to
>> troubleshoot the problem, but I will eventually use dmail as my smtp
>> server.  All the above servers are on the sam machine.
>>
>> I have turned logging on in my php.ini, but the mail() error does not
>> get written to the log file I specified, only to the Apache error log
>> - but the error is the same as that displayed in my browser when php
>> tries to call mail()  "Warning: mail() is not supported in this PHP build"
>>
>> I've tried everything I can think of and recommendations from this
>> list...
>>
>> I have removed php, removed sendmail, reinstalled sendmail,
>> reinstalled php:
>>
>> here is 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 \
>>  --
>>
>>  My php.ini is i the proper location and chnges get reloaded after
>>  reloading Apache - verified by phpinfo().  Here is the pertinent area
>>  of my php.ini file:
>>
>>  ---
>>
>>  sendmail_path = /usr/sbin/sendmail -t -i
>>
>>  -----
>>  Here are others that I've tried in my php.ini file: