phpcpanelmysqlnd

Unable to use mysqlnd methods


I am creating a WebService using Slim framework in php. it works well for POST REQUEST but when I use GET REQUEST I come across error stating

Call to undefined method mysqli_stmt::get_result()

I've created another file for testing purpose. which contains the code below. As in the first check I find that extension is loaded but my second check goes false as I check any native method of mysqlnd

if (extension_loaded('mysqlnd')) {
echo 'mysqlnd enabled!';
}
  $mysqlnd = function_exists('mysqli_fetch_all');
 if($mysqlnd) {

   echo 'function exists';
}

My PHP version is PHP Version 5.5.31.


Solution