Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7382 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64203 invoked by uid 1010); 28 Jan 2004 19:22:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64089 invoked from network); 28 Jan 2004 19:22:44 -0000 Received: from unknown (HELO smtp3.pp.htv.fi) (213.243.153.173) by pb1.pair.com with SMTP; 28 Jan 2004 19:22:44 -0000 Received: from localhost.localdomain (cs181008.pp.htv.fi [213.243.181.8]) by smtp3.pp.htv.fi (Postfix) with ESMTP id B692427B2D7; Wed, 28 Jan 2004 21:22:43 +0200 (EET) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i0SJMhpn026137; Wed, 28 Jan 2004 21:22:43 +0200 Date: Wed, 28 Jan 2004 21:22:43 +0200 (EET) Reply-To: Jani Taskinen To: Andrei Zmievski Cc: internals@lists.php.net In-Reply-To: <20040128190035.GA39225@gravitonic.com> Message-ID: References: <20040127164011.GE32706@gravitonic.com> <20040128190035.GA39225@gravitonic.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Compiling 2 SAPIs From: sniper@iki.fi (Jani Taskinen) On Wed, 28 Jan 2004, Andrei Zmievski wrote: >On Wed, 28 Jan 2004, Jani Taskinen wrote: >> It creates a static libphp5_core.a which is linked to each build >> SAPI module / binary. Dunno how you could have same lib loaded >> by e.g. Apache / Apache2 ?? Or what did you mean? :) >> >> >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? >> >> My first tests had the libphp5_core lib as shared..so yes. >> I'll update my patch a bit. > >Okay, is it possible to make the same patch for php4? I didn't try, but I think the same patch might even apply without modifying it at all. :) The build stuff is pretty much same in both HEAD and PHP_4_3 branches, AFAICT. --Jani