Re: --with-pear[=DIR] patch

From: Date: Mon, 09 Apr 2001 21:26:00 +0000
Subject: Re: --with-pear[=DIR] patch
References: 1 2 3  Groups: php.dev php.pear.dev 
Request: Send a blank email to php-dev+get-51242@lists.php.net to get a copy of this message
[Jon Parise <jon@csh.rit.edu>] > On Sun, Apr 08, 2001 at 06:21:50PM -0400, Stig Sther Bakken wrote: > > > 1. Using --datadir to determine where PEAR PHP files go. With > > --datadir=/usr/share or --datadir=/usr/share/php, PHP architecture > > independent files go to /usr/share/php, and PEAR's PHP files go to > > /usr/share/php/pear. > > > > I've added your --with-pear option to override this. > > > > 2. Using --libdir to determine where extensions go. With > > --libdir=/usr/lib or --libdir=/usr/lib/php, extensions are > > installed in /usr/lib/php/<APIVER>. I've also shortened the > > <APIVER> part so "no-debug" and "non-zts" are skipped. The > > alternatives are now "20001222", "20001222-zts", > > "20001222-debug" > > and "20001222-zts-debug". > > Both of these sounds good to me. > > > 3. Using --sysconfdir to determine php.ini path. The default is now > > $prefix/etc. > > Would this be a replacement for --with-config-file-path? It sets a default, and you can make do with only --sysconfdir, but right now --with-config-file-path overrides it. > > 4. The CGI version of PHP is always built and installed. > > I assume that would --bindir, right? Yup. > > Let me know if you have any problems with these changes. They should > > make it a lot easier for distributions to build PHP, because we > > conform more to de-facto build conventions (at least on Linux). Also > > you won't have to re-run configure and make to build the CGI in order > > to run tests, the PEAR installer etc. > > I think you're proposed changes cover a lot more (useful) ground than > my simple patch. Go for it! =) I'm going, I'm going. :-) - Stig -- Stig Sæther Bakken <ssb@fast.no> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.dev (#51242) next »