Article 5FW7A phpMyAdmin can't find a file which is there

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:
'/usr/lib/php/20190902/'
I checked my old laptop: I found the 2 files in

Quote:
'/usr/lib/php/20170718/'
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:
extension=/usr/lib/php/20190902/mysqli
and

Quote:
extension=/usr/lib/php/20190902/xml
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:
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
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??latest?d=yIl2AUoC8zA latest?i=bJkGau2jM8k:idafBnYRqhI:F7zBnMy latest?i=bJkGau2jM8k:idafBnYRqhI:V_sGLiP latest?d=qj6IDK7rITs latest?i=bJkGau2jM8k:idafBnYRqhI:gIN9vFwbJkGau2jM8k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments