I noticed '-with-mysqli=mysqlnd' was not in the phpinfo screen above. I do something wrong which could well be. can it not find the function / extension while phpinfo gives the details. This means that WordPress gives the same Error since this the code that WordPress uses. (phpinfo() phpinfo shows the lib mysqlnd 8.0.11) The problem: The output in the browser shows "does not exist". I make a new file: info.php: if ( function_exists( 'mysqli_connect' ) ) I can connect to MariaDb and make databases and stuff.In /usr/local/etc/php/php.ini extension=mysqli is uncommented (and uncommented others) (so i edited this file).GitHub phpmyadmin / phpmyadmin Public Notifications Fork 3.2k Star 6.2k Code Issues 602 Pull requests 23 Actions Projects 6 Wiki Security Insights New issue The mysqli extension is missing.mkdir wordpressĭocker run -p 127.0.0.1:3306:3306 –name some-mariadb -e MARIADB_ROOT_PASSWORD=PASSWORD -d mariadb:latestĭocker run -d -p 8082:80 –mount type=bind,source=”$(pwd)”,target=/var/www/html php:apache I run the following statements (so it is completely reproducible) (because i wanted to play with the source code of WordPress) and the following makes your current dir a website running under 8082 (pwd). I also have verified that the php.ini file contain these entries: PHPMYSQL extensionphpmysql.dll PHPMYSQLI extensionphpmysqli.dll Lastly, via my Google searches I've found that perhaps 'libmysql.dll' needs to be copied into the 'windows/system32' directory, so I tried that.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |