Re: RH8.0 Bug w/ PHP - Still need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Nov 2002, Joel Webb wrote:
> Has anybody done a PHP recompile yet with RH 8.0 with the SRC RPM's??

Not me.

> I need to find out how to force the SPEC file to see sendmail. I have 
> already tried

I can't see any configure option for the location of sendmail.

The default php.ini gets patched when building the Red Hat RPMs.  
Maybe your specfile isn't doing that.

$ grep sendmail /etc/php.ini
sendmail_from = me@localhost.com
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

> --with-sendmail=/usr/bin/sendmail    AND
> --with-sendmail-dir=/usr/bin
> 
> NO LUCK!

It's in /usr/sbin, not /usr/bin.
(and it's a symlink to whatever MTA has been selected with "alternatives")

> I am using RH 8.0 with sendmail. I needed to install PHP with mhash
> support and have recompiled it. After installing the new RPM binaries,
> I noticed I lost support for the mail() function.

Check your php.ini.

> ... 
> This is how I am recompiling...
> 
> rpmbuild -bp php-blah.spec 1>bp.log
> -then-
> rpmbuild -bb php-blah.spec 1>bb.log

"rpmbuild -bb ..." will suffice.

David.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux