Re: Make mysqlnd default over libmysql in 5.4
| From: | Christopher Jones | Date: | Fri, 02 Sep 2011 19:17:14 +0000 |
| Subject: | Re: Make mysqlnd default over libmysql in 5.4 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55097@lists.php.net to get a copy of this message | ||
On 09/02/2011 08:32 AM, Rasmus Lerdorf wrote:
On 09/02/2011 05:27 AM, Johannes Schlüter wrote: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/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,I was actually going to suggest doing this in 5.4 and trunk but didn't get around to writing the email yet. -Rasmuswhich 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_*) whichimprove/extend mysqlnd functionality. By having mysqlnd as default these are better usable by users.Opinions?