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

"

On 24/03/2024 19:51, Bernard wrote:

Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library '//usr/lib/php/20190902/mysqli.so' * *However, the file is there... not human readable as expected* *and mysqli_connect doesn't operate.*

*Thanks in advance for your help*
*Bernard*

Reply via email to