Make mysqlnd default over libmysql in 5.4

From: Date: Fri, 02 Sep 2011 12:27:04 +0000
Subject: Make mysqlnd default over libmysql in 5.4
Groups: php.internals 
Request: Send a blank email to internals+get-55084@lists.php.net to get a copy of this message
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? johannes -- Johannes Schlüter, Oracle MySQL Engineering - MySQL Connectors and Client Connectivity

« previous php.internals (#55084) next »