#20751 [Com]: Mail: undefined function
| From: | busia at tiscalinet dot it | Date: | Sun, 01 Dec 2002 22:25:35 +0000 |
| Subject: | #20751 [Com]: Mail: undefined function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26309@lists.php.net to get a copy of this message | ||
ID: 20751
Comment by: busia@tiscalinet.it
Reported By: busia@tiscali.it
Status: Feedback
Bug Type: Mail related
Operating System: Linux Redhat 7.2
PHP Version: 4.3.0RC2
New Comment:
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!
Previous Comments:
------------------------------------------------------------------------
[2002-12-01 16:14:17] sniper@php.net
Does the user you're compiling PHP as have rights to access the
sendmail binary on your system?
------------------------------------------------------------------------
[2002-12-01 15:33:24] busia@tiscali.it
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("andrea.busia@ludus.com", "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