On Tue, Mar 26, 2024 at 6:04 AM Bernard <bdebr...@free.fr> wrote: > > I have progressed a little in my trials. > > mysqli.so still shows the previously described problems, and I thought that > this was responsible of the fact that mysqli functions were apparently > discarded in the test programs I wrote. > > I discovered that this was due to errors I made in the php program. The > errors in the script being corrected, mysqli_connect, mysqli_select_db, > mysqli_query... now do operate... despite the errors concerning mysqli.so > that I discovered when running the tests which are proposed by 'baeldung.com' > > " > > $ php -m | grep mysqli > > "If the MySQLi extension is enabled, we’ll see mysqli in the output. > Otherwise, the output will be empty." > > php -m grep mysqli > > PHP Warning: PHP Startup: Unable to load dynamic library > '//usr/lib/php/20190902/mysqli.so' (tried: //usr/lib/php/20190902/mysqli.so > (//usr/lib/php/20190902/mysqli.so: undefined symbol: mysqlnd_global_stats), > /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so > (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open > shared object file: No such file or directory)) in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: > /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: cannot open > shared object file: No such file or directory), > /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: undefined > symbol: mysqlnd_global_stats)) in Unknown on line 0 > mysqli
Just observing out loud: What's generating that double slash, i.e. "//usr," in the start of the message? That seems like a possible show stopper. Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with birdseed *