So I'm trying to install the php modules: mysqli, exif, mbstring and dom. But I'm unable to do so...
I have apparently managed to install exif and mbstring with this command, yet it doesn't appear on the list of installed modules:
[root@~]# php -v
PHP 8.1.27 (cli) (built: Jan 24 2024 00:32:48) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
[root@~]# yum install ea-php81-php-exif.x86_64
Last metadata expiration check: 1:50:15 ago on Wed 14 Feb 2024 11:29:44 AM -03.
Package ea-php81-php-exif-8.1.27-1.1.3.cpanel.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@~]# yum install ea-php81-php-mbstring.x86_64
Last metadata expiration check: 1:54:38 ago on Wed 14 Feb 2024 11:29:44 AM -03.
Package ea-php81-php-mbstring-8.1.27-1.1.3.cpanel.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@~]# php -m
[PHP Modules]
Core
date
filter
hash
json
libxml
openssl
pcntl
pcre
readline
Reflection
session
SPL
standard
zlib
And I also can't find the mysqli package "No matches found."
I have also added the ones I was able to install in the php.ini file but it still doesn't work.
This is one of the messages in the error_log:
[14-Feb-2024 17:31:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: ./mbstring.so (./mbstring.so: cannot open shared object file: No such file or directory), ./mbstring.so.so (./mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Asked by Fabriccio Bogdanoff
(3 rep)
Feb 15, 2024, 01:25 PM
Last activity: Feb 15, 2024, 02:00 PM
Last activity: Feb 15, 2024, 02:00 PM