Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67212 invoked by uid 1010); 27 Feb 2008 08:48:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67197 invoked from network); 27 Feb 2008 08:48:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2008 08:48:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:52830] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/AF-63317-EC325C74 for ; Wed, 27 Feb 2008 03:48:14 -0500 Received: from [192.168.3.87] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id 554596401EA; Wed, 27 Feb 2008 11:48:11 +0300 (MSK) Message-ID: <47C523C0.6060800@daylessday.org> Date: Wed, 27 Feb 2008 11:48:00 +0300 User-Agent: Thunderbird 2.0.0.9 (X11/20071114) MIME-Version: 1.0 To: Eugene San CC: PHP Developers Mailing List References: <47C47B26.9000701@gmail.com> In-Reply-To: <47C47B26.9000701@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP footprint and sharing code among SAPI binaries From: tony@daylessday.org (Antony Dovgal) On 26.02.2008 23:48, Eugene San wrote: > 1) Is there any reason to link all PHP SAPI modules statically with all > PHP objects? In most cases you need only one SAPI, so there is no reason to share something. > 2) Is it possible to extract all shared functionality to shared object > and links all SAPI modules against it? That's how it works on Win32. And I have to mention that I've seen LOTS of bug reports from people who forget to update php(4|5)ts.dll when upgrading PHP. > 3) Next issue is XML with DOM support, we where using LIBXML2 but that > costs ~2.5MB are there there options for supporting that? What costs 2.5MB? Dynamic linking against libxml2.so? -- Wbr, Antony Dovgal