PHP Fatal error: Call to undefined function mysqli_stmt_get_result()

后端 未结 5 1335
小鲜肉
小鲜肉 2020-11-28 15:33

I keep getting the error PHP Fatal error: Call to undefined function mysqli_stmt_get_result(). I am using PHP version 5.6 and have enabled the extension mysqlind in my host

5条回答
  •  攒了一身酷
    2020-11-28 16:11

    I had the same issue ("PHP Fatal error: Call to undefined function mysqli_stmt_get_result()")and all it took was to change the version of php the server was auto set too ie 5.6 to 7.2, and to make sure the nd_mysqli is checked. Note that mysqlnd is contraindicated in the place of nd-mysqli.

    Steps:
    Find the change php version section in cpanel
    Choose highest version of php at current 7.2
    Ensure nd_mysqli is checked from list of extensions
    In case of any error try un-checking mysqlnd

提交回复
热议问题