I need to install a website on my server, but I'm getting this error when running a required script:
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:
But after following all the instructions (with no successful results) I found out suPHP has a different config PHP file:
And in this config file the parameters mentioned in the tutorial already have values (paths to binaries), like so:
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...
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...