Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35175 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88386 invoked by uid 1010); 4 Feb 2008 15:38:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88371 invoked from network); 4 Feb 2008 15:38:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2008 15:38:28 -0000 Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.147 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.147 smtpout0147.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.147] ([64.97.136.147:64230] helo=n068.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/FC-26146-27137A74 for ; Mon, 04 Feb 2008 10:38:27 -0500 Received: from sc1-out02.emaildefenseservice.com (64.97.139.2) by n068.sc1.he.tucows.com (7.2.069.1) id 4769316E009255E6; Mon, 4 Feb 2008 15:36:57 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,01f5e47b69541d1c,942ddd6a8e1e3a25,steph@zend.com,-,RULES_HIT:152:355:379:539:540:541:542:543:567:599:601:945:960:966:967:973:980:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1542:1587:1593:1594:1676:1711:1712:1730:1747:1766:1792:2073:2075:2078:2196:2198:2199:2200:2393:2525:2553:2559:2563:2682:2685:2733:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3355:3622:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874: 3934:3936:3938:3941:3944:4250:4385:4886:5007:6119:6120:6261:7653:7679,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (62-31-252-198.cable.ubr07.shef.blueyonder.co.uk [62.31.252.198]) (Authenticated sender: steph.fox) by sc1-out02.emaildefenseservice.com (Postfix) with ESMTP; Mon, 4 Feb 2008 15:36:56 +0000 (UTC) Message-ID: <00f501c86743$e5122320$c6fc1f3e@foxbox> Reply-To: "Steph Fox" To: "Derick Rethans" Cc: "Marcus Boerger" , "internals" References: <01c801c865d8$2e837e90$c6fc1f3e@foxbox> <14581063.20080203002104@marcus-boerger.de> <005201c8660f$66a2b160$c6fc1f3e@foxbox> Date: Mon, 4 Feb 2008 15:37:42 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; 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 Subject: Re: [PHP-DEV] Splitting the subject: the PECL/PHP relationship From: steph@zend.com ("Steph Fox") Hi Derick, > I see another issue after reading this, and that is that it makes it > much harder for users to depend on specific extensions just being always > available by default. It's important for application distributers to > have this core set of extensions to rely on. It's annoying enough that > some distributions (gentoo, freebsd) already use --disable-all and their > users then bugging us (or me) with "you should check that SPL is enabled > in your code". Well, you should, while it's possible to disable it! Consider a distribution that has _only_ the essentials. Consider also a relatively small bundle of PECL extensions that ships alongside it. Say we classify them: everything that currently ships with core would be class A1 or whatever, as would anything else in PECL that is stable and considered likely to be useful to a wide range of users. Anything in that bundle is "recommended", and we make it very plain to sysadmins that they should install any of that bundle supported by their system. It includes things like (most) PDO drivers, SOAP, sqlite, zip, curl, json... all things that are currently shipped with the core but not necessarily (under doze at least) enabled by default. We educate PHP users to insist on 'the A1 pack'. We also make it _possible_ to operate PHP without 'the A1 pack', but I do just mean 'possible'. (In other words it should be possible to write a basic website using PHP as it comes, without adding or enabling anything.) If everything in PECL were classified, it'd be much easier for people to figure out what to load and when. A simple 'justification' line alongside the classification would be immensely helpful, assuming the info in package.xml is made obvious via the installer. You'd need a few extra sections in package.xml, e.g: 2.0 stable A2 specialist interest active 10/01/08 5 That tells users and sysadmins alike everything they need to know about that extension and allows them to make an informed decision about installing it, or not, as the case may be. Some of that info could even be autogenerated... Anything _not_ in 'the A1 pack' would need to be downloaded individually, via a system we don't have yet (again, speaking as a Windows user). Another thing would be to offer downloads by classification, e.g. 'pecl install A1'. - Steph > > regards, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >