Re: [PHP4BETA] mail() doesn't work : bug ?

From: Date: Wed, 10 Nov 1999 13:31:29 +0000
Subject: Re: [PHP4BETA] mail() doesn't work : bug ?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6105@lists.php.net to get a copy of this message
On Tue, 9 Nov 1999, Olivier Cahagne wrote: | > I'm not too familiar with FreeBSD's system call tracer, but try something | > like this: | > | > truss -f ./php -f testscript.php 2> trace.out | > | > Then you can look for "exec" in strace.out and see if sendmail is exec'ed | > and what parameters it gets, or if it fails. | | Sorry, there's no truss on the NetBSD box I have access to (either it | doesn't exist or root didn't install it). | man truss -> man trace but trace doesn't seem to exist neither. | | I can't get debugger_on() to work. debugger_on() won't help you. I'm pretty confident there's something wrong with your PHP or sendmail configuration, mail() works on all the boxes I have running PHP4. Since you say that Mail and sendmail from Perl scripts work, it is probably the PHP configuration. Try removing the sendmail_path option from php.ini and see what happens. Also, if you specify it, make sure you use quotes, like this: sendmail_path = "/usr/sbin/sendmail -t" - Stig

« previous php.version4 (#6105) next »