From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 11:21:25 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E45E106566B for ; Mon, 9 Jan 2012 11:21:25 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id 576818FC16 for ; Mon, 9 Jan 2012 11:21:23 +0000 (UTC) Received: (qmail 23270 invoked from network); 9 Jan 2012 10:54:41 -0000 Received: from unknown (HELO alex.andxor.it) (192.168.2.30) by andxor.it with SMTP; 9 Jan 2012 10:54:41 -0000 Message-ID: <4F0AC771.8060904@FreeBSD.org> Date: Mon, 09 Jan 2012 11:54:41 +0100 From: Alex Dupre User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20111227 Firefox/9.0.1 SeaMonkey/2.6.1 MIME-Version: 1.0 To: Doug Barton References: <4F067693.1020407@FreeBSD.org> In-Reply-To: <4F067693.1020407@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD ports list Subject: Re: Feasibility of splitting out web components of lang/php5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 11:21:25 -0000 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