Recompile PHP5.3 with mysqlnd on Debian Squeeze?

Posted by TheRebel on Server Fault See other posts from Server Fault or by TheRebel
Published on 2013-11-06T14:17:08Z Indexed on 2013/11/06 15:56 UTC
Read the original article Hit count: 201

Filed under:
|
|

My current PHP5.3 installation was compiled with libmysql by default. To run certain mysqli functions, I need the mysqlnd library, but I can't seem to find a step by step guide giving proper description how to recompile PHP 5.3 on Debian 6 with custom settings.

All I found was the configuration parameter on the PHP.net manual (http://php.net/manual/en/mysqlinfo.library.choosing.php) saying that this is a compile time decision:

$ ./configure --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql=mysqlnd

Any ideas how to do it?

Thanks!

© Server Fault or respective owner

Related posts about debian-squeeze

Related posts about php5.3