For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > July 2007 > help with mail() function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help with mail() function
Bill Beck

2007-07-27, 7:01 pm

Hello all,

I've compiled PHP5 on an Ubuntu machine. Getting this error when trying
to use mail(), and have looked for the obvious problems:

error message:

*Fatal error*: Call to undefined function mail()

After running ./configure (as root) it shows that php found sendmail,
and my admin panel confirms it's running:

checking for sendmail... (cached) /usr/sbin/sendmail

So sendmail is there, and the php_config.h file indeed shows #define
HAVE_SENDMAIL 1
but no mail function.

Any thoughts?

Thanks,

Bill B
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com