|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37179 --with-pear directive not fully utilized
Submitted: 2006-04-24 08:32 UTC Modified: 2006-05-02 01:00 UTC
From: mhalligan at bitpusher dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.1.2 OS: SuSE SLES 9 SP3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-04-24 08:32 UTC] mhalligan at bitpusher dot com
pear.conf is being installed into /usr/local/etc. There seems to be no way to fix this.

Reproduce code:
export EXTENSION_DIR=/bitpusher/services/apache/lib/php/ext
export BUILDDIR=/bitpusher/services/apache/lib/php/build
./configure  \
        --with-prefix=/bitpusher/services/apache \
        --with-apxs=/bitpusher/services/apache/sbin/apxs \
        --with-pear=/bitpusher/services/apache \
        --enable-mbstring \
               --with-zlib \
        --with-libxml-dir=/bitpusher \
        --with-libdir=lib64 \
        --with-libexecdir=/bitpusher/services/apache/libexec \
        --bindir=/bitpusher/services/apache/bin \
        --sbindir=/bitpusher/services/apache/sbin \
        --sysconfdir=/bitpusher/services/apache/conf \
        --with-extension=shared,/bitpusher/services/apache/lib/php \
        --includedir=/bitpusher/services/apache/include \      
        --sharedstatedir=/bitpusher/services/apache/lib/php/ext \
        --enable-sysvshm \
        --with-config-file-path=/bitpusher/services/apache/conf \

Expected result:
I would expect pear's configuration file to be managed either by --prefix, --sysconfdir, or --with-pear=

Actual result:
When I make install, I get this: 

Wrote PEAR system config file at: /usr/local/etc/pear.conf

It appears that there are many flags that aren't being handled properly in ./configure. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-24 20:56 UTC]
Please try using this CVS snapshot:
For Windows:

With this configure line
'./configure' \
'--disable-cgi' \
'--prefix=/tmp/php-install' \
'--sysconfdir=/tmp/etc' \

I can find pear.conf in /tmp/etc/ after making and installing everything.
Please check that you're installing PEAR with the reight PHP binary.
 [2006-05-02 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 09:01:24 2023 UTC