Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39542 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89684 invoked from network); 1 Aug 2008 14:51:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2008 14:51:38 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:43682] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/C9-39007-8F223984 for ; Fri, 01 Aug 2008 10:51:38 -0400 Received: from localhost (h1149922.serverkompetenz.net [85.214.94.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 3F87011F1FF; Fri, 1 Aug 2008 16:51:33 +0200 (CEST) Date: Fri, 1 Aug 2008 16:51:28 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <858292480.20080801165128@marcus-boerger.de> To: Robert Lemke CC: PHP Developers Mailing List In-Reply-To: References: <4892E15D.1080004@daylessday.org> <4892E37B.8060804@macvicar.net> <4892E5DD.50907@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] enabling everything by default From: helly@php.net (Marcus Boerger) Hello Robert, Friday, August 1, 2008, 12:44:20 PM, you wrote: > Hi folks, > Am 01.08.2008 um 12:30 schrieb Antony Dovgal: >> On 01.08.2008 14:20, Scott MacVicar wrote: >>> ext/pdo_sqlite and ext/sqlite3 use the same underlying lib so its >>> just another wrapper but without the PDO crap on top. >> >> 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? > FWIW: In TYPO3 5.0 we rely on PDO_SQLITE and use it as the default > database directly after the installation of TYPO3. Not because SQLite > is such a performant database, but rather because we can use it > without having to ask the user for any configuration / credentials. > Later on the user has the opportunity to move her data into a more > sophisticated database such as MySQL or Oracle. > So from our point of the universe: Please keep PDO_SQLITE enabled, it > makes our lives much easier. Stuff like this is the exact reason we enabled SQLite by default from the beginning. We discussed it as soon as SQLite was created and all agreed that we should have at least one database always enabled. Now if Type3, one of the largest users of PHP, requires PDO_SQLite, we should definitively enable it by default. And actually my opinion is that there hardly is a reason for an extension to be in core if it is not enabled by default. Best regards, Marcus