Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1829 invoked by uid 1010); 27 Jan 2004 16:57:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1797 invoked from network); 27 Jan 2004 16:57:31 -0000 Received: from unknown (HELO max6.rrze.uni-erlangen.de) (131.188.3.214) by pb1.pair.com with SMTP; 27 Jan 2004 16:57:31 -0000 Received: from [131.188.163.104] by max6.rrze.uni-erlangen.de with ESMTP for internals@lists.php.net; Tue, 27 Jan 2004 17:57:27 +0100 Message-ID: <6.0.1.1.0.20040127175555.03cd6940@127.0.0.1> X-Sender: snuwschi@pop.rrze.uni-erlangen.de X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Tue, 27 Jan 2004 17:57:22 +0100 To: internals@lists.php.net In-Reply-To: <20040127164011.GE32706@gravitonic.com> References: <20040127164011.GE32706@gravitonic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Checker-Version: SpamAssassin 2.62-rrze_08 (2004-01-11) on spamela.rrze.uni-erlangen.de X-Spam-DCC: dcc.uncw.edu:spamela 1201; Body=1 Fuz1=1 Fuz2=1 X-Spam-RRZE-Info: Diese Mail wurde einer automatischen Spam-Analyse unterzogen, siehe: http://www.rrze.uni-erlangen.de/SPAM-Analyse/ Subject: Re: [PHP-DEV] Compiling 2 SAPIs From: uwe@thetaphi.de (Uwe Schindler) At 17:40 27.01.2004, you wrote: >On Tue, 27 Jan 2004, Jani Taskinen wrote: > > Here's what I came up with: > > > > http://www.php.net/~jani/patches/multi_sapi_build.patch > > > > With the patch applied, I'm now able to build at least > > apache, cli, cgi and embed SAPIs on one run. > > > > # ./configure --disable-all --with-apxs --enable-embed > > > > (CLI and CGI are build by default..) > > > > I build them using static 'core' lib as I dislike the > > idea of having to install and maintain several libs. :) > > > > But if someone insists, it's possible to build one shared > > lib too..I actually tested with that first. :) > >Does your patch just build multiple SAPIs as separate shared libs or >does it make one shared lib that has multiple SAPIs in it? The latter is >what I want. > >The best (ideal) result would be to have one libphp[45].so that contains >the core. The SAPIs should link against it, so we'd have libphpembed.so, >libphpapache.so, etc. Can this be done? Would be great. The only thing is: We must compile all SAPIs with ZTS enabled... But thats the same on windows. ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Erlangen, Germany