getting all versions of php (mod,cli,cgi)?
Roman Neuhauser
neuhauser at chello.cz
Tue Mar 16 15:29:38 PST 2004
# stijn at win.tue.nl / 2004-03-16 20:13:09 +0100:
> On Tue, Mar 16, 2004 at 07:41:27PM +0100, Roman Neuhauser wrote:
> > # stijn at 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
More information about the freebsd-ports
mailing list