Subject:   PHP.INI
Date:   2002-04-09 12:19:16
From:   pbljung
Response to: PHP.INI

I created /usr/local/lib/php/php.ini containing
[mail function]
SMTP = smtp.mac.com
sendmail_from = pbljung@mac.com


and restarted apache, but I still can't get mail() to work. Any tips?

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • PHP.INI
    2002-10-30 19:28:31  edwardd20 [View]

    Did you ever get your mail() function working? I'm trying the same thing and so far can't get it working. I have managed to get the sendmail to send a command directly, but when I try it with PHP and mail(), I get a message in /var/log/mail.log that reads gethostbyaddr(192.168.0.116) failed: 3. I do have the PHP.INI file as described above and my test.php script shows it being set properly.

    Ed