Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91410 invoked from network); 24 Jun 2008 10:48:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2008 10:48:14 -0000 Authentication-Results: pb1.pair.com header.from=steph@phparch.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=steph@phparch.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phparch.com from 64.99.136.129 cause and error) X-PHP-List-Original-Sender: steph@phparch.com X-Host-Fingerprint: 64.99.136.129 smtprelay-virgin0129.hostedemail.com Linux 2.5 (sometimes 2.4) (4) Received: from [64.99.136.129] ([64.99.136.129:41936] helo=smtprelay-virgin.hostedemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/91-17106-DE0D0684 for ; Tue, 24 Jun 2008 06:48:13 -0400 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay08.hostedemail.com (Postfix) with SMTP id DBB2D311E07; Tue, 24 Jun 2008 10:48:10 +0000 (UTC) X-SpamScore: 1 Received: from foxbox (host86-143-244-1.range86-143.btcentralplus.com [86.143.244.1]) (Authenticated sender: steph.fox) by omf13.hostedemail.com (Postfix) with ESMTP; Tue, 24 Jun 2008 10:48:09 +0000 (UTC) Message-ID: <01bb01c8d5e7$fd198950$4401a8c0@foxbox> Reply-To: "Steph Fox" To: "Pierre Joye" , "Greg Beaver" Cc: "Marcus Boerger" , "internals" References: <028a01c8d4a7$18dd4380$4401a8c0@foxbox> <008601c8d524$41184e30$4401a8c0@foxbox> <486043CF.6030103@chiaraquartet.net> Date: Tue, 24 Jun 2008 11:49:31 +0100 Organization: php|architect MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-session-marker: 73746570682E666F78 X-Spam-Summary: 2,0,0,69bcc707d8504c9d,db91dfb2344a6b94,steph@phparch.com,,RULES_HIT:355:379:539:540:541:542:543:567:599:601:945:973:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1542:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2198:2199:2393:2559:2562:2694:2828:3027:3355:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:4250:5007:6119:6248:6261:7875:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none Subject: Re: [PHP-DEV] OpenSSL and Phar From: steph@phparch.com ("Steph Fox") Pierre, >> I must be going crazy. Is there an actual problem that needs solving? >> You're saying that a user who improperly installs php_openssl.dll (i.e. >> does not follow instructions and set up ssleay.dll and libeay.dll) should >> magically be able to use phar with openssl? Why? > > You are not going crazy, I was asking the same in my very first reply. Odd, that. I have nothing in my ML archives mentioning this imaginary poor confused user until Greg's post. > The only thing I like to see in config.w32 (and config.m4 too if > possible) is the dependencies definition. As it has no impact at > runtime (as you explained), it can be used at configure and build time > to check than the right extension or libraries are used. Or at least, > to notify the user than running configure with --disable-all > --enable-phar is not enough to give bz2, zlib or ssl support. I think you're becoming very confused about the distinction between developers and users. Most users running PHP under Windows do *not* build their own copy of PHP. The rest of us don't need PEAR-type config output styling etc, we can read standard configuration output thanks. --disable-all is so rarely used under doze that until I fixed it last week, it hadn't ever worked. In 5 years (more?) there was only one complaint - from Hector, who was trying to roll his own PHP for distribution, which is discouraged. Even nmake clean is reserved for distribution/snapshots builds, and we didn't have an alternative for it in local builds until very recently. There just aren't enough people working on PHP under Windows for these things to have been a real problem. The ones that do, don't build PHP in the way you anticipate here. The people that build PHP like that are *nix users. PHP/Windows *users* use phpinfo() and php -m to find out what they have on board. phpinfo() explains what is or isn't available in Phar and what is needed to enable it. They don't need more than this. Are you really suggesting that developers need more info than this because they're less able to read than end users are? Finally, as Greg has already tried to explain, in Phar the dependencies are 100% soft. Building phar alongside bz2 doesn't trigger bz2 functionality, but loading bz2.so does. There's absolutely no association between the configure line and the support offered. The one exception here is the phar-ssl stuff I committed for Windows yesterday, which is fairly likely to disappear altogether once Greg has had time to think it through properly because it doesn't really make sense, given our normal context, to offer built-in functionality in that way. - Steph