Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37234 invoked from network); 1 Aug 2008 10:55:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2008 10:55:11 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.227 rv-out-0506.google.com Received: from [209.85.198.227] ([209.85.198.227:45386] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/B2-21097-B8BE2984 for ; Fri, 01 Aug 2008 06:55:08 -0400 Received: by rv-out-0506.google.com with SMTP id g37so919912rvb.23 for ; Fri, 01 Aug 2008 03:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0wBgxvvjbR05CeWBa1HDfdcfYKfIxqw5r0E5bB/pxPY=; b=fV09FVeUNkHE9xE1SFdGLm6UyeSdqEnuoWjXgEl/F+sC7rWgPFTm5AJewzfDPDp4kf yMD/1ftxEIsLnrSqMjhpnbGgyT+vRLEph6eR2rOPlsQyQBGrg3sCmIL5tNfOn7Mr19pc 7O4/dvqFQ6dpKbGse99OFxyD+xVlA8pm6FpC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BMn4KNXog7mC/4vBbbyovQTvc/FvR/1ru9cDSEaKRF/4BHPYB0XuX9wfmNizCi4C/C X/G+fCqwD6cnvNJALwvt4z/46FVzojJpoFFKGsYW64vBWO17nTZRXFF2CdFxH4n7MBpA lrOmHo4cRodraYxbQx1L6OjDyy316A/J/MbI8= Received: by 10.140.199.3 with SMTP id w3mr5866081rvf.16.1217588105304; Fri, 01 Aug 2008 03:55:05 -0700 (PDT) Received: by 10.141.185.2 with HTTP; Fri, 1 Aug 2008 03:55:05 -0700 (PDT) Message-ID: Date: Fri, 1 Aug 2008 12:55:05 +0200 To: "Antony Dovgal" Cc: "Scott MacVicar" , php-dev In-Reply-To: <4892E8C7.1090809@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4892E15D.1080004@daylessday.org> <4892E37B.8060804@macvicar.net> <4892E5DD.50907@daylessday.org> <4892E856.6090108@macvicar.net> <4892E8C7.1090809@daylessday.org> Subject: Re: [PHP-DEV] enabling everything by default From: pierre.php@gmail.com ("Pierre Joye") On Fri, Aug 1, 2008 at 12:43 PM, Antony Dovgal wrote: > On 01.08.2008 14:41, Scott MacVicar wrote: >>> >>> I know, I know. >>> But why enable it by default (as well as PDO_SQLITE)? What's so extremely >>> useful in this extension that every user needs it? >> >> The zero configuration aspect, the ability to just throw up a database in >> place of your own over complicated storage format. Sure all hosts have MySQL >> but if you're shipping a product then sometimes its simpler to just bundle a >> SQLite DB. > > None of this requires enabling it by default. One of the reason of the PHP success is its feature richness. ISP, good or bad, enables what we enable. You can see that in the extension usage statistic (from nexen.net). They have to be taken with a bit of salt but they represent a good way to see what actually happens out there. I heard solutions like "educating the ISPs" and seriously that's a sweet dream and may not reflect their needs. An extension not enabled by default is often not used for this exact reason: it is not enabled by default. So my thoughts are really simple, unless disable-all is used, enable everything possible as long as the deps are found (or if there is no dep). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org