Date: Wed, 17 Mar 2004 00:29:51 +0100 From: Roman Neuhauser <neuhauser@chello.cz> To: Stijn Hoop <stijn@win.tue.nl> Cc: freebsd-ports@freebsd.org Subject: Re: getting all versions of php (mod,cli,cgi)? Message-ID: <20040316232951.GF1102@isis.wad.cz> In-Reply-To: <20040316191309.GF11578@pcwin002.win.tue.nl> References: <20040316123701.GB11578@pcwin002.win.tue.nl> <20040316135026.GE11578@pcwin002.win.tue.nl> <20040316184127.GA15477@isis.wad.cz> <20040316191309.GF11578@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
# stijn@win.tue.nl / 2004-03-16 20:13:09 +0100: > On Tue, Mar 16, 2004 at 07:41:27PM +0100, Roman Neuhauser wrote: > > # stijn@win.tue.nl / 2004-03-16 14:50:27 +0100: > > > On Tue, Mar 16, 2004 at 01:37:01PM +0100, Stijn Hoop wrote: > > > > The PHP docs say that you can build both CLI & CGI versions at the same > > > > time by doing > > > > > > > > ./configure --enable-cli=${PREFIX} --enable-cgi=${PREFIX}/www/cgi-bin > > > > > > And like most of the time, the PHP docs get it wrong :( This doesn't work, > > > explaining the need for the different ports. This Sucks. > > > > Oh really? ... > Hey, great! Actually I tried to make it work within the port so it seems > that some other option is in the way (--with-apache maybe). > > And anyway one would hope that the port could support this. > > Thanks for proving me wrong, I was getting a bit frustrated here ;-) Note that I didn't prove you wrong on the account of the various binaries landing in their (seemingly) requested install dirs. As far as I know autoconf-produced configure scripts, the arguments are ignored, or more precisely, not expected to be paths. You'll have to install them by hand. IIRC you can use lang/php4 to build both flavors, but this may be (dare I say it *is* in most cases) a poor choice because it forces the same set of features in both binaries. BTW, the reason for the various php ports conflicting is that they install a few auxiliary files in the same locations, but nothing that would ruin your precious machine, just an "incorrect plist" warning when you deinstall. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316232951.GF1102>