Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55097 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54510 invoked from network); 2 Sep 2011 19:17:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 19:17:29 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 141.146.126.227 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.227 acsinet15.oracle.com Received: from [141.146.126.227] ([141.146.126.227:48936] helo=acsinet15.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/83-31460-7CB216E4 for ; Fri, 02 Sep 2011 15:17:28 -0400 Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p82JHMha020980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 2 Sep 2011 19:17:24 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p82JHLpr022991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Sep 2011 19:17:22 GMT Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p82JHGJg032320 for ; Fri, 2 Sep 2011 14:17:16 -0500 Received: from [10.159.230.84] (/10.159.230.84) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 02 Sep 2011 12:17:16 -0700 Message-ID: <4E612BBA.2000509@oracle.com> Date: Fri, 02 Sep 2011 12:17:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: internals@lists.php.net References: <1314966424.2150.26.camel@guybrush> <4E60F712.4010901@lerdorf.com> In-Reply-To: <4E60F712.4010901@lerdorf.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090207.4E612BC4.00BE,ss=1,re=0.000,fgs=0 Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: christopher.jones@oracle.com (Christopher Jones) On 09/02/2011 08:32 AM, Rasmus Lerdorf wrote: > On 09/02/2011 05:27 AM, Johannes Schlüter wrote: >> Hi, >> >> when building PHP using >> (I) ./configure --with-mysql --with-mysqli --with-pdo-mysql >> you currently get a build using the system default libmysql, usually >> in /us or >> such. Alternatively PHP can be built using >> (II) ./configure --with-mysqli=mysqlnd [...] >> to build the MySQL extensions using the mysqlnd library. >> >> I would like to change mysqlnd's config9.m4 file to build PHP using >> mysqlnd when being called in form (I). Users would still be able to >> enforce libmysql by passing a path, like /usr. >> >> There are two main reasons I see for this: >> a) Different libmysql versions have slightly different behavior, >> which shows in our tests. We can't have both, a good test coverage >> and cover all these differences. By using mysqlnd we have a clear >> behavior every PHP developer can rely on. >> b) We provide different extensions (pecl/mysqlnd_*) which >> improve/extend mysqlnd functionality. By having mysqlnd as default >> these are better usable by users. >> >> Opinions? > > I was actually going to suggest doing this in 5.4 and trunk but didn't > get around to writing the email yet. > > -Rasmus > I'm +1 for this. I think the decision & implementation needs to be done before Beta or deferred to trunk. Chris -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/