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.jo...@oracle.com
Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to