ID:               20367
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Mail related
 Operating System: OSX 10.2.1
 PHP Version:      4.2.3
 New Comment:

Apache 1.3.27/PHP 4.2.3 on Mandrake Linux 8.2
Same problem here.  Previously running PHP 4.1.2 caused a message to be
logged by sendmail but no message delivered.  Relay agent showed as
apache@localhost.

Moved to PHP 4.2.3 now nothing shows up in log file. php.ini is using
"/usr/sbin/sendmail -t -i". No luck


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

[2002-11-18 09:21:09] [EMAIL PROTECTED]

I'v got the same problem on a linux redhat,apache 1.3.27 and php 4.2.3;
and /var/log/maillog tell nothing, the mail don't arrive to sendmail.
I tried to compile php as a binary (not as an apache module) and in
this case, the mail functions works fine.
I think this bug is resolved in cvs version, but its for a production
environment, so cvs isn't a solution for me.

I tried to replace mail.c and php_mail.c with the cvs version in 4.2.3
source. All compile fine, but apache refuse to start due to undefined
symbol :
Cannot load /usr/local/apache/apache_1.3.27/libexec/libphp4.so into
server: /usr/local/apache/apache_1.3.27/libexec/libphp4.so: undefined
symbol: php_error_docref
/opt/apache/apache_1.3.27/bin/apachectl start: httpd could not be
started

Can I find a patch somewhere for the mail.c function for php 4.2.3 ?
thanks

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

[2002-11-11 14:36:24] [EMAIL PROTECTED]

So, what does '/var/log/maillog' tell you?

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

[2002-11-11 13:52:56] [EMAIL PROTECTED]

I am running Apache 1.3.26 and php 4.2.3 on OSX 10.2.1

I have created the /usr/lib/php.ini file, and verified that changes to
it are reflected in phpinfo(). The path to sendmail is set correctly.

Sendmail functions properly, and I have alleviated the various
permissions issues related to sendmail on OSX, as I have been using
this box as a mail server for months now.

This simple bit of scripting fails:

mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine
3");

There are no errors reported in the browser or in error_log, so there
is no indication of failure, other than the fact that the email is
never recieved.

I have found dozens of similar posts in newsgroups and in web forums,
but noone has yet found the answer. Searching your online KnowledgeBase
and Bug DB come up with no mentions either.

If there is any further information or debugging that I can provide,
please let me know.


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


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

Reply via email to