Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49911 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84514 invoked from network); 15 Oct 2010 11:44:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2010 11:44:39 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:44689] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/48-39876-C9E38BC4 for ; Fri, 15 Oct 2010 07:44:28 -0400 Received: from [192.168.1.31] (ppp-93-104-40-174.dynamic.mnet-online.de [93.104.40.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 34E38442A3; Fri, 15 Oct 2010 13:44:25 +0200 (CEST) To: Dave Ingram Cc: weigelt@metux.de, php-dev In-Reply-To: <4CB83A8B.1000600@dmi.me.uk> References: <20101014110444.GA14927@nibiru.local> <4CB83A8B.1000600@dmi.me.uk> Content-Type: text/plain; charset="UTF-8" Date: Fri, 15 Oct 2010 13:44:22 +0200 Message-ID: <1287143062.5215.107.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] build sapi's separately From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2010-10-15 at 12:27 +0100, Dave Ingram wrote: > On 10/14/10 12:04, Enrico Weigelt wrote: > > is it already possible to build the sapi modules separately ? > > I'd like to split them off into completely separate packages > > for easier systems maintenance. > > Various distros already do this. See for example the Red Hat PHP RPM. It > depends which packaging system you use, but if you're familiar with RPM > then this would perhaps be a good starting point. They are still building SAPIs as part of the main PHP build. Building "stand-alone" SAPIs is not really supported. The closest one can do is build the embedded SAPI and then link against the created lib (either .a or .so) I was successful in the past ignoring the "embedded" stuff in the lib and register your own SAPI. But as said: That's not really supported. For this reason we're a bit less strict about adding SAPIs, like we did with lightspeed and fpm. johannes