why is the PHP stuff line "off" by default in ports/lang/php5?

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Sep 20 22:05:50 UTC 2010


On 20/09/2010 22:22:57, Rob Farmer wrote:
> My suggestion was to add it back via a slave port (say
> lang/php5-apache). This would be *in addition* to the existing
> lang/php5 port and everyone who is worried about unnecessary
> dependency bloat, security, etc. would be free to keep using that.

Yes, but you'ld need several different php5-apache ports to account for
the different versions of apache available: 1.3, 2.0, 2.2 at least -- or
rather, the corresponding versions of devel/apr.  apr itself can depend
optionally on mysql, postgresql, openldap, etc. etc. -- each combination
of options there produces a runtime pretty much incompatible with either
apache or modules compiled against apr with other combinations of
modules selected.  You begin to see the problem?

Having said that, I do feel that having mod_php5 support available as a
pkg -- just compiled against the default apache version with the default
apache/apr settings -- would be a positive thing.  Sometimes you just
want to throw some php application onto a server with minimum effort,
and being able to do that without having to compile either php or apache
is definitely a win.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100920/aac0fc6a/signature.pgp


More information about the freebsd-questions mailing list