phpMyAdmin can't find a file which is there
by Pedroski from LinuxQuestions.org on (#5FW7A)
My question is: where can I get the latest version of the PHP extensions: mysqli.so and xml.so for PHP 7.4??
I am trying to set up this new laptop, and it is proving difficult!
I downloaded the newest phpMyAdmin .deb file from their own webpage and installed it.
It wouldn't work: complained mysqli and xml were missing.
These refer to mysqli.so and xml.so
I looked for them on my computer: they really were not there, which is silly of phpMyAdmin, they should be in the .deb file with all the other .so files.
Other .so files are in: Quote:
I checked my old laptop: I found the 2 files in
Quote:
So I copied them and put them in the new laptop in '/usr/lib/php/20190902/'
On the new laptop, I set php.ini to:
Quote:
and
Quote:
Apparently, you shouldn't add the .so, because it is added automatically, so (pun) if you add .so php looks for mysqli.so.so
Anyway, after that and a blowfish password, phpMyAdmin works without error, no red messages.
BUT: apache2 error.log has this to say:
Quote:
I'm thinking this means, the files I copied from my old laptop are older versions and not compatible with this version.
However, phpMyAdmin works fine!
Anyone else have this problem??


I am trying to set up this new laptop, and it is proving difficult!
I downloaded the newest phpMyAdmin .deb file from their own webpage and installed it.
It wouldn't work: complained mysqli and xml were missing.
These refer to mysqli.so and xml.so
I looked for them on my computer: they really were not there, which is silly of phpMyAdmin, they should be in the .deb file with all the other .so files.
Other .so files are in: Quote:
'/usr/lib/php/20190902/' |
Quote:
'/usr/lib/php/20170718/' |
On the new laptop, I set php.ini to:
Quote:
extension=/usr/lib/php/20190902/mysqli |
Quote:
extension=/usr/lib/php/20190902/xml |
Anyway, after that and a blowfish password, phpMyAdmin works without error, no red messages.
BUT: apache2 error.log has this to say:
Quote:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20190902/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//usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902//usr/lib/php/20190902/mysqli.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 '/usr/lib/php/20190902/xml' (tried: /usr/lib/php/20190902/xml (/usr/lib/php/20190902/xml: cannot open shared object file: No such file or directory), /usr/lib/php/20190902//usr/lib/php/20190902/xml.so (/usr/lib/php/20190902//usr/lib/php/20190902/xml.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 |
However, phpMyAdmin works fine!
Anyone else have this problem??