Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63840 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82956 invoked from network); 13 Nov 2012 12:27:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2012 12:27:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-ia0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:37168] helo=mail-ia0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/71-08247-ACC32A05 for ; Tue, 13 Nov 2012 07:27:55 -0500 Received: by mail-ia0-f170.google.com with SMTP id x24so1676397iak.29 for ; Tue, 13 Nov 2012 04:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AhN6tB0h0PNKbASIOb1+lGMAxSWbXlqX9HA5iy4/cH0=; b=CnzxHDfoxOzzWScKsDRMQnQbF4jih20CtXx2MWLpqQ9TTO+x3t0eKlQAf5O2Pef1OD JE00il7C5npYvxz/Oki5Lf2P2DmndiHWWhDkdRVJZmp0K2s2yBg/4iYKOj2Q65+OIK2S nZyySIG7CjpiKNDsdAbxzpuiOyBrBOtD4UucQp5NJTNugYNheQcoF4NCmv7ReeQJp8n+ 0reKxjB8+dy+Ce49mvN0jRmPkex4SGB+z0ESTQQLBm3zKjpmsjvhIrtyBFr4aiuuMXOR zs51E8W94mQwyMb9ud90sl9z2kS8QZhhFjYq7cIAyKhLIADxPS4pwiSrUM0f+JmGmzXl 104A== MIME-Version: 1.0 Received: by 10.50.5.236 with SMTP id v12mr608874igv.6.1352809672332; Tue, 13 Nov 2012 04:27:52 -0800 (PST) Received: by 10.64.33.143 with HTTP; Tue, 13 Nov 2012 04:27:52 -0800 (PST) In-Reply-To: <50A1946F.8010407@lerdorf.com> References: <50A10A9D.9070402@oracle.com> <50A1946F.8010407@lerdorf.com> Date: Tue, 13 Nov 2012 13:27:52 +0100 Message-ID: To: Rasmus Lerdorf Cc: Leigh , Ulf Wendel , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: pierre.php@gmail.com (Pierre Joye) hi Rasmus, On Tue, Nov 13, 2012 at 1:29 AM, Rasmus Lerdorf wrote: > On 11/12/2012 07:24 AM, Leigh wrote: >> Hi, >> >>> We put ext/mysql in a (security) bug fix maintenance mode only >>> years ago. Too many ignore those attempts to get rid of ext/mysql. >> >> Maybe it's time to put it into full non-maintenance mode then? >> >> I believe MySQL is one of the on-by-default extensions when you >> compile PHP blindly (as I'm sure many do), why not make it require >> enabling specifically during build configuration, along with an >> end-of-script message that states the extension is no longer >> maintained (not even security fixes). > > That is simply not true. If you download PHP and do ./configure && make > install you do not get MySQL support. You have to explicitly specify > that you want it. > > What is true is that most people no longer build PHP at all. They just > end up with whatever their provider has installed or with whatever > packages they end up installing when they install the PHP app they want > to use. Both Wordpress and Drupal depends on php-mysql on Ubuntu, for > example. > > It would be good if we could get the majority of the major PHP apps to > commit to supporting mysqli along the same timeframe as marking this > deprecated. Here is the take of one of the WP core dev: My take on the RFC: Toss E_DEPRECATED in already. In our case, developers will see them, be intrigued enough to contribute. and I gather we'd have it shipped built-in in Q2 2013. refs from a twitter conversation: https://twitter.com/nacin/status/268273606386126849 https://twitter.com/nacin/status/268273185307389952 Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org