Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 13:37:01 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-ports@freebsd.org
Cc:        ale@freebsd.org
Subject:   getting all versions of php (mod,cli,cgi)?
Message-ID:  <20040316123701.GB11578@pcwin002.win.tue.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I'd like to install _all_ versions of PHP -- that is I need the apache module
and the php CLI binary, and I need the CGI interface as well.  I cannot figure
out any way to do this with ports. Am I stuck with building on my own?

As far as I can see lang/php4 only builds the CGI binary when both
WITHOUT_APACHE and WITHOUT_CLI are set. I do not see the point of this. It is
easy to install the CGI to another directory, let's say
/usr/local/www/cgi-bin. 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

So if it's not possible using ports, why is this and can it be fixed?
If it is possible, please let me know how.

--Stijn

-- 
The problem is that there are several people in design positions now who
couldn't design the Next Big Thing(TM) unless it involved them taking a
photocopier and someone else's design of The Next Big Thing(TM).
		-- 'Alkaiser' in a post on Slashdot on game originality



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316123701.GB11578>