|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4236 configure doesn't find sendmail unless it is in $PATH
Submitted: 2000-04-25 12:46 UTC Modified: 2002-10-01 14:50 UTC
From: bad at oreilly dot de Assigned:
Status: Wont fix Package: Installation problem
PHP Version: 3.0.16 OS: NetBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bad at oreilly dot de
New email:
PHP Version: OS:


 [2000-04-25 12:46 UTC] bad at oreilly dot de
AC_PATH_PROG splits the last argument on ":" not on spaces.
The following patch needs to be applied.
(Why one wants to pick up a random sendmail file in the users PATH, is beyond me, though.)

---   Mon Apr  3 20:24:29 2000
+++        Tue Apr 25 18:20:18 2000
@@ -106,7 +106,7 @@
-AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib)
+AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib)
 if test -n "$PROG_SENDMAIL"; then


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:50 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

fixed in php 4 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 20:01:29 2024 UTC