这可能是许多问题的重复,但我似乎没有从现在的任何问题中得到答案,我正在使用主机提供的multi domain linux hosting,我试图使用mysqli_stmt_get_result(),但当一个undefined method.I联系了hostgator管理面板时,它引发了一个错误,并且他们为我启用了mysqlnd扩展。我确实看到mysqlnd扩展在我的website.However的phpinfo中启用了,我仍然看到了相同的错误。;else我试着检查它是否已
我已经尝试通过编写和使用自定义Dockerfile在官方php docker镜像上启用mysqli,如下所示: FROM php:7.4
RUN docker-php-ext-install mysqli/no-debug-non-zts-20190902/php_mysqli.so: cannot open shared object file: No such file or directory),/no-debug-non-zts-20190902/php_mysql
我得到跟随错误
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_mysqli.dll' - /usr/lib/php/20151012/php_mysqli.dll: cannot open shared object file: No such file or directory inUnknown on line 0
错误日志-[19-Mar-2020 15:32:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined method mysqli_stmt; if($stmt = $mysqli->prepare($sql)){
// Bind variables to the prepared statement ascontains only one row, we don't need to use while loop *