getting all versions of php (mod,cli,cgi)?

Stijn Hoop stijn at
Tue Mar 16 04:36:47 PST 2004


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.


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

More information about the freebsd-ports mailing list