Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33016 invoked by uid 1010); 27 Feb 2008 18:05:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33001 invoked from network); 27 Feb 2008 18:05:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2008 18:05:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=eugenesan@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=eugenesan@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.188 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: eugenesan@gmail.com X-Host-Fingerprint: 64.233.182.188 nf-out-0910.google.com Received: from [64.233.182.188] ([64.233.182.188:65268] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/9D-58167-D46A5C74 for ; Wed, 27 Feb 2008 13:05:02 -0500 Received: by nf-out-0910.google.com with SMTP id e27so1716432nfd.13 for ; Wed, 27 Feb 2008 10:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; bh=tgeudV6zEf448iAmJ+TD4i5X6tIfmpIuqSDy9Xzgy80=; b=iJfCw3whGsrVSixw1OVwGVy0J4WTdCtEVJBPNvg248jyo9ob34JeuI9bTUfZO3nr6eEW4XBmhcms2fqKV97GFx6qUsdUFgTB04ch3IZGOtWNEIW3E99hw92jui45ttZKmzgH38+/KzBFR8RRO7wVvVhNdlGKNYA7hwTfataeLrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; b=PX6InpTESmB6JEErq9nzlJhveaJHk/rbVfRRhBTXXL9j7K51jbO7J2/wubtgJbGbY/Nc2NJaMq7mFBkrAU+UwGeWZluqfxpsXWJQ4UeNdZkh1MZcU2QdvmimQfRZXxJDuvO2JvI0k9wfYxjGT5emuXHWRb1GJUTapOfsAWFxyHc= Received: by 10.78.132.2 with SMTP id f2mr6834880hud.37.1204135497330; Wed, 27 Feb 2008 10:04:57 -0800 (PST) Received: from ?192.168.1.112? ( [84.108.16.112]) by mx.google.com with ESMTPS id g1sm14446351muf.5.2008.02.27.10.04.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 Feb 2008 10:04:55 -0800 (PST) Message-ID: <47C5A63C.6030003@gmail.com> Date: Wed, 27 Feb 2008 20:04:44 +0200 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Antony Dovgal CC: PHP Developers Mailing List References: <47C47B26.9000701@gmail.com> <47C523C0.6060800@daylessday.org> In-Reply-To: <47C523C0.6060800@daylessday.org> Content-Type: multipart/alternative; boundary="------------030501010308060807030904" Subject: Re: [PHP-DEV] PHP footprint and sharing code among SAPI binaries From: eugenesan@gmail.com (Eugene San) --------------030501010308060807030904 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Antony Dovgal wrote: > 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? > Linking against libxml2 costs 0.4MB and libxml2 itself 2.1MB. > > --------------030501010308060807030904--