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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php