I am building an application which includes prepared mysqli statements. I use Object oriented PHP. The day before yesterday everything was working great. Yesterday I updated my Ubuntu machine (which I currently use as web server). Today I was trying again and poof! there was an error. "call to undefined method mysqli_stmt::get_result()" So I went to the internet and found out that get_result needs the mysqlnd library. So I used the following to check if the library is included:
if (extension_loaded('mysqlnd')) {
echo 'extension mysqlnd is loaded'; //works
}else{
echo 'extension is not loading';
}
And indeed I got the message that the extension is not loading. What I want to do now is try to load the library, but how do I do that?
The best I could found was this:
http://php.net/manual/en/mysqlnd.install.php
But even with some trial and error I can't get this to work.
Question: How do I load the mysqlnd library?