Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55085 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8775 invoked from network); 2 Sep 2011 12:56:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 12:56:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:35809] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/11-00288-192D06E4 for ; Fri, 02 Sep 2011 08:56:50 -0400 Received: from srv-rhsoft.rhsoft.net (openvpn-241.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 8B54B98 for ; Fri, 2 Sep 2011 14:56:46 +0200 (CEST) Message-ID: <4E60D28E.5040305@thelounge.net> Date: Fri, 02 Sep 2011 14:56:46 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110831 Thunderbird/6.0 MIME-Version: 1.0 To: internals@lists.php.net References: <1314966424.2150.26.camel@guybrush> In-Reply-To: <1314966424.2150.26.camel@guybrush> X-Enigmail-Version: 1.3.1 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig33AB4D38498558DB3401CC9D" Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: h.reindl@thelounge.net (Reindl Harald) --------------enig33AB4D38498558DB3401CC9D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable please do it we are using mysqlnd on some hundret domains with all sort of php-softwar= e since PHP 5.3.3 (the first 5.3 version we used) and thinking back how hard it was to get the fedora-srpm chnaged to build with mysqlnd my opinion is drop the libmysql-support completly you named the main-reason for that: auto-tests supporting both without a real good reason will have permanently side-effects covered in bugreports and instead maintain two code-paths from the view of quality it would be better to optimize mysqlnd if there is something missing what i do not know now Am 02.09.2011 14:27, schrieb Johannes Schl=C3=BCter: > Hi, >=20 > 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=3Dmysqlnd [...] > to build the MySQL extensions using the mysqlnd library. >=20 > 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. >=20 > 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. >=20 > Opinions? >=20 > johannes --------------enig33AB4D38498558DB3401CC9D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5g0o4ACgkQhmBjz394Ankb/QCeKePPA43ji3EVECnag4BHWDd8 g/sAn11izzW0lgVtgUCq14j1o1EbDM17 =3JJL -----END PGP SIGNATURE----- --------------enig33AB4D38498558DB3401CC9D--