you must install php pre-qmail.

PHP compiles with the sendmail executables and libraries.
so:
        install os (w/sendmail)
        install php
        install qmail
        follow the qmail faq for linking to qmail executables
        change sendmail_path to "/var/qmail/bin/qmail-inject" in php.ini

This is how I did it and it works great on a machine with big.concurrency
patch and 400 remote processes.

-----Original Message-----
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 10:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail & php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

----- Original Message -----
From: "Bill Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail & php


> When I installed qmail, I obviously removed sendmail.  Now
> when I build php(4) and try to use the the mail() function,
> I get "mail() not supported in this PHP build" because
> sendmail was not found during the configure (I assume).
>
> The only reference I could find in the php archives was to
> put "sendmail_path=<path to qmail-inject>", but it didn't
> work.
>
> Has anyone had any luck using php with qmail?
>
> Please reply off-list as I realize this is really a php issue.
> The php mailing list is down per their web site, but I
> figure someone on this list is bound to be running php...
>
>  (Sorry!)
>
> ./bill
>
> BTW: RH7, php4<->apache
>

Reply via email to