I'm trying to get the mysqlnd driver setup on php5.3.2 (default version) on Ubuntu 10.04 (Lucid). The PHP docs say that mysqlnd is compiled by default in the 5.3 builds. But I haven't been able to find a way to make it part of the aptitude build.
A:
Actually, the docs say it's enabled by default on the Windows versions, and on Unix PHP uses the older MySQL Client Library instead (as documented here). But that's no guarantee that Ubuntu enabled it in their default build. As far as I can, it's nowhere to be found in Ubuntu/Lucid. There's no package for it on the repositories, and php -i
and phpinfo()
both do not list it as a built-in module on my Lucid x64 Server install.
Most likely you'll have to get Ubuntu's source .deb for MySQL and roll your own compile with mysqlnd activated.
Marc B
2010-08-05 00:06:01