Doug Barton ha scritto:
What would make my life a whole lot simpler is if lang/php5 were the
command line version, and the cgi and apache modules were separate
ports. Is this feasible?

Short answer: no. Long answer: nothing is impossible ;-)
Extensions are compiled based on settings of the core php. If you split core php in different ports, you end up with possibly many different settings (e.g, standard CLI, debug CGI, threaded mod_php) and so it's impossible to compile extensions that work for all SAPIs. In an ideal world, the core php should compile only a shared library, and the various SAPIs should link it.

--
Alex Dupre
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to