[PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Chris W
I just moved my site to a new install of SUSE 9.1 and get the error..
Call to undefined function: mail()  when ever I try to send a message.  
What is the easiest way to fix this since suse used postfix instead of 
sendmail.

--
Chris W
Bring Back the HP 15C
http://hp15c.org
Not getting the gifts you want?  The Wish Zone can help.
http://thewishzone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Marek Kilimajer
Chris W wrote:
I just moved my site to a new install of SUSE 9.1 and get the error..
Call to undefined function: mail()  when ever I try to send a message.  
What is the easiest way to fix this since suse used postfix instead of 
sendmail.

Hmm, weird. The function should always be available, it's part of the 
core, even missing sendmail binary does not give this error.

Isn't mail in disable_functions in php's configuration?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread John Nichel
Chris W wrote:
I just moved my site to a new install of SUSE 9.1 and get the error..
Call to undefined function: mail()  when ever I try to send a message.  
What is the easiest way to fix this since suse used postfix instead of 
sendmail.

You'll have to set the path to postfix's sendmail wrapper.  I think it's 
in /usr/sbin, which is probably not in your path.  So you either need to 
add /usr/sbin to your path, or set 'sendmail_path' in your php.ini file, 
then restart your webserver.

--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Curt Zirzow
* Thus wrote Chris W ([EMAIL PROTECTED]):
 I just moved my site to a new install of SUSE 9.1 and get the error..
 Call to undefined function: mail()  when ever I try to send a message.  
 What is the easiest way to fix this since suse used postfix instead of 
 sendmail.

This happens  when php is compiled and it can't find the sendmail
program.


Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php