phpMyAdmin error message

I installed phpMyAdmin from source as well as trying the package from repo (obs://build.opensuse.org/serverhp:applications) and it gives an error

The mysqli](https://soibelman-systems.site/phpMyAdmin/url.php?url=https%3A%2F%2Fwww.php.net%2Fmanual%2Fen%2Fbook.mysqli.php) extension is missing.

Checked Apache error log and got this:

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php8/extensions’ (tried: /usr/lib64/php8/extensions (/usr/lib64/php8/extensions: cannot read file data: Is a directory), /usr/lib64/php8/extensions//usr/lib64/php8/extensions.so (/usr/lib64/php8/extensions//usr/lib64/php8/extensions.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/lib64/php8/extensions/mysqli (/usr/lib64/php8/extensions/mysqli: cannot open shared object file: No such file or directory), /usr/lib64/php8/extensions/mysqli.so (/usr/lib64/php8/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘mysqli.so’ (tried: /usr/lib64/php8/extensions/mysqli.so (/usr/lib64/php8/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats), /usr/lib64/php8/extensions/mysqli.so.so (/usr/lib64/php8/extensions/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I looked to see that those extensions are in the path and they are so not sure why Apache doesn’t detect them.

Using phpMyAdmin-5.1.2, Apache-2.4.52-3.1, php-8.0.15-1.1

Thanks.

More info.

php -m
[PHP Modules]
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
fileinfo
filter
gd
gettext
gmp
hash
iconv
imagick
intl
json
libxml
lzf
maxminddb
mbstring
memcache
memcached
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
psr
readline
Reflection
session
SimpleXML
snmp
sockets
SPL
sqlite3
standard
tidy
tokenizer
uuid
xdebug
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Xdebug
Zend OPcache

So mysqli and mysqlnd are loaded…but Apache still complains. Also should have noted
that Apache is loading php module (apache2-mod_php8)
apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (static)
unixd_module (static)
systemd_module (static)
authz_host_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
userdir_module (shared)
asis_module (shared)
cache_module (shared)
imagemap_module (shared)
rewrite_module (shared)
ssl_module (shared)
perl_module (shared)
reqtimeout_module (shared)
socache_shmcb_module (shared)
version_module (shared)
authn_core_module (shared)
authz_core_module (shared)
php_module (shared)

Hope this information is helpful. So it ‘seems’ there is something causing the original problem I posted though it’s not obvious (to me anyway). I’m guessing it’s a conflict somewhere, perhaps an installed application…

1 Like

Hi,

did you solve this issues? I have the same, fighting with it few days already.

Thanks!