note 14027 deleted from function.mail by jimw

From: Date: Wed, 31 Oct 2001 23:26:07 +0000
Subject: note 14027 deleted from function.mail by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19924@lists.php.net to get a copy of this message
When I rebuilt my server I installed apache/php4 before I installed a sendmail. Later I installed sendmail. After completing the rebuild I got an error on one of my scripts that worked fine before. The error was: Warning: mail() is not supported in this PHP build in testmail.php on line 1 Turns out, when you run configure it checks to see if sendmail exists. If it doesn't at that time you get the above error, otherwise it will work fine. If I remember correctly it looks for /usr/sbin/sendmail. I use qmail and by placing a symbolic link, PHP4 recompiled fine, with mail support.

« previous php.notes (#19924) next »