0

Looks like most common distros build their PHP packages without mysqlnd, instead relying on the old libmysql library. Are there any distros that do include the new mysql native driver even as an option in any of their officially supported repositories? If not, is it possible (and if so, how) to rebuild these three (mysql, mysqli, & pdo_mysql) extensions without having to rebuild the entire PHP install?

In my case, there are several PHP functions I need that are available only if these Mysql extenstions are built against mysqlnd. So I'd be fine installing a new OS to get these if the OS offers and supports it.

1 Answer 1

0

In FreeBSD it's as simple as doing

cd /usr/ports/databases/php5-mysqli && make config && make install clean

This will show you a dialog which has Mysqlnd option that you can check/uncheck before compiling.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .