PhpMyAdmin Mbstring Extension Is Missing
This is a fairly new install of CentOS7 and I’m trying to install phpMyAdmin (http). When I access http://server/phpMyAdmin it throws:
The mbstring extension is missing. Please check your PHP configuration.
There is a mbstring.ini in /etc/php.d with:
; Enable mbstring extension module
Extension=mbstring.so
/etc/php.ini has:
:
extension_dir = “/etc/php.d”
:
Not sure where to go now.
Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |
American Income Life Insurance | 254-761-6649
9 thoughts on - PhpMyAdmin Mbstring Extension Is Missing
You need to install correct package. Name of package might be php-mbstring
..
Eero kirjoitti:
27.10.2015 11.58 ip. “Frank M. Ramaekers”
Eero,
It has already been installed.
Frank M. Ramaekers Jr.
—–Original Message—
Since your configuration files say that mbstring.so should exist in /etc/php.d, the first question to ask is, does it?
that seems wrong, mine has no such field. (the commented out default value is ./ )
the extension .so files should be in /usr/lib64/php/modules
Yes, it does in /usr/lib64/php/modules/
Frank M. Ramaekers Jr.
—–Original Message—
John,
Yeah, tried that, no improvement (same error message).
Thanks, Frank M. Ramaekers Jr.
—–Original Message—
So what you actually meant to say is, no it doesn’t exist in /etc/php.d.
/etc/php.d != /usr/lib64/php/modules.
I think you found your problem.
Yeah, something changed my php.ini as follows:
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir extension_dir = “./”
; So what you actually meant to say is, no it doesn’t exist in /etc/php.d.
/etc/php.d != /usr/lib64/php/modules.
I think you found your problem.
the default of ./ is sufficent as php assumes thats
/usr/lib64/php/modules … so really, you don’t need, and shouldn’t have ANY extension_dir setting in php.ini