Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64382 invoked from network); 29 Nov 2009 14:43:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2009 14:43:16 -0000 Authentication-Results: pb1.pair.com header.from=jess@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jess@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: jess@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:48172] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/E2-48013-288821B4 for ; Sun, 29 Nov 2009 09:43:16 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id 0A49650486; Sun, 29 Nov 2009 16:29:42 +0200 (IST) Received: from [10.1.2.102] ([10.1.2.102]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 29 Nov 2009 16:43:11 +0200 Message-ID: <4B12887F.3020006@zend.com> Date: Sun, 29 Nov 2009 16:43:11 +0200 User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: jvlad CC: internals@lists.php.net References: <61.CB.44817.91D421B4@pb1.pair.com> <4B1266E0.7010405@zend.com> <7D.E0.48013.AD9721B4@pb1.pair.com> <4B127C03.1080707@zend.com> <0E.72.48013.2E3821B4@pb1.pair.com> In-Reply-To: <0E.72.48013.2E3821B4@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Nov 2009 14:43:11.0634 (UTC) FILETIME=[4645E720:01CA7102] Subject: Re: [PHP-DEV] php id string From: jess@zend.com (Jess Portnoy) Hi, Please see below. May the source be with you, Best regards, Jess Portnoy jvlad wrote: > "Jess Portnoy" wrote in message > news:4B127C03.1080707@zend.com... > >> Apple ships their MAC OS with GCC that is capable of building universal >> binaries. >> Most MAC users expect packages to be built universal. Trust me, I also >> hate it but its true... >> If what you want is just to ensure the extensions are built for the same >> architecture as the PHP core, this I can understand, I'm just saying you >> need to take multiple archs bundled together under consideration. Also, I >> don't know if deciding for the dynamic loader if something can be loaded >> is so wise, if it can great, if not, it will yell at you anyhow.. >> >> May the source be with you, >> Best regards, >> Jess Portnoy >> > > Jess, > Honestly, I see no problem with universal binaries. After all > they are not that "universal" at all. > Perhaps you missed another reply where I asked - if you have > 4 binaries in one file, why don't you have 4 id strings for them? > The problem I see [and it can certainly be that we just don't understand each other's intentions :)], is this: If the PHP Core [the Apache module, CLI/CGI binary, etc] is built for instance as a 4 way universal binary [32bit and 64bit, Intel and PPC], the machine itself is, lets say, a 64bit Intel machine and the extension being examined is built 2 ways, say, 32bit and 64bit, how do you suggest we compare them? I mean, the extension should be able to load fine even though its just 2 way because we are NOT running PPC here.. > and yes, many companies that provide their php extensions in pre-compiled > form like Zend, ionCube, and > many others are interested in a clear way on how to detect whether installed > php is supported and > what module among hunderd others to pick and install. So, you usee it's not > a way to dictate > the loader what to load. It's a way for installer to be wise enough. > The installer really has nothing to do here the way I see it, a person may later take an extension built by some other party, this extension which technically could load just fine, will be rejected due the Engine test, as is the situation today when compiling the extension with a VC version different than core was compiled with. If you're just talking about warning [not the case these days with the compiler ID check, then perhaps]. > -jvlad > > > >