mysqlnd on suphp?

Protected

Verified User
Joined
Oct 29, 2006
Messages
81
I need to install a website on my server, but I'm getting this error when running a required script:

Code:
PHP Fatal error:  Call to undefined method mysqli_result::fetch_all()

After some research I found out I need to replace libmysql with mysqlnd in my php installation. I found this thread, which contains instructions matching the PHP manual:

Code:
[url]http://forum.directadmin.com/showthread.php?t=43657[/url]

But after following all the instructions (with no successful results) I found out suPHP has a different config PHP file:

Code:
root@server:/usr/local/directadmin/custombuild# ./build used_configs
...
suPHP configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.suphp
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.php5

And in this config file the parameters mentioned in the tutorial already have values (paths to binaries), like so:

Code:
"--with-pdo-mysql=/usr/local/mysql" \

How can I modify this so I'll get mysqlnd functionality? Should I replace that value with mysqlnd? I don't want to break my installation, which could result in hours of downtime...
 
Ok, this thread wasn't getting any views and I figured I was unlikely to get an answer before monday, so leap of faith... And it worked! Apparently, at least. Let's hope nothing difficult to find got broken. Thanks anyway.
 
Back
Top