ID:               20751
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Mail related
 Operating System: Linux Redhat 7.2
 PHP Version:      4.3.0RC2
 New Comment:

Does the user you're compiling PHP as have rights to access the
sendmail binary on your system?

(qmail does add some wrapper binary for sendmail, and it works fine
here..)



Previous Comments:
------------------------------------------------------------------------

[2002-12-01 16:25:35] [EMAIL PROTECTED]

The same problem is also on an other server with a similar
configuration (but with redhat 7.0):

The the servers config.log says:
--------------------------------
configure:10743: checking for sendmail
configure:10776: result: no
--------------------------------

Why? Qmail is installed, seems that the new php version doesn't find it
but 4.2.3 did!

------------------------------------------------------------------------

[2002-12-01 16:14:17] [EMAIL PROTECTED]

Does the user you're compiling PHP as have rights to access the
sendmail binary on your system?


------------------------------------------------------------------------

[2002-12-01 15:33:24] [EMAIL PROTECTED]

If I try to use the mail function I receive this error:

PHP Fatal error:  Call to undefined function:  mail() in
/home/httpd/html/bug.php on line 2

the script bug.php is

<?
mail("[EMAIL PROTECTED]", "busia", "busia");
echo "a";
?>

Before the upgrade to 4.3.RC2 the mail function was working well.

The server configuration is

Redhat 7.2
Apache 1.3.22
PHP 4.3.0RC2
Mysql 4.0.5
Qmail 1.03

Andrea Busia

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20751&edit=1

Reply via email to