help with mail() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux