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
You need to install correct package. Name of package might be php-mbstring ..
Eero 27.10.2015 11.58 ip. "Frank M. Ramaekers" FRamaekers@ailife.com kirjoitti:
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
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Eero,
It has already been installed.
Frank M. Ramaekers Jr.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Eero Volotinen Sent: Tuesday, October 27, 2015 5:16 PM To: CentOS mailing list Subject: Re: [CentOS] phpMyAdmin mbstring extension is missing
You need to install correct package. Name of package might be php-mbstring ..
Eero 27.10.2015 11.58 ip. "Frank M. Ramaekers" FRamaekers@ailife.com kirjoitti:
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
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Tue, 27 Oct 2015 17:23:15 -0500 Frank M. Ramaekers wrote:
It has already been installed.
Since your configuration files say that mbstring.so should exist in /etc/php.d, the first question to ask is, does it?
Yes, it does in /usr/lib64/php/modules/
Frank M. Ramaekers Jr.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Frank Cox Sent: Tuesday, October 27, 2015 5:30 PM To: centos@centos.org Subject: Re: [CentOS] phpMyAdmin mbstring extension is missing
On Tue, 27 Oct 2015 17:23:15 -0500 Frank M. Ramaekers wrote:
It has already been installed.
Since your configuration files say that mbstring.so should exist in /etc/php.d, the first question to ask is, does it?
-- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Tue, 27 Oct 2015 19:19:42 -0500 Frank M. Ramaekers wrote:
Yes, it does in /usr/lib64/php/modules/
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 = "./" ; On windows: ; extension_dir = "ext" extension_dir = "/etc/php.d"
This directory has a bunch of .ini files, so I changed it to the location of the .so files:
; Directory in which the loadable extensions (modules) reside. ; http://php.net/extension-dir extension_dir = "./" ; On windows: ; extension_dir = "ext" ; extension_dir = "/etc/php.d" extension_dir = "/usr/lib64/php/modules/"
This did the trick!
Thanks to all of those who contributed! Frank M. Ramaekers Jr. Systems Programmer; MCP, MCP+I, MCSE & RHCE American Income Life Insurance Company Phone: (254) 761-6649 Fax: (254) 741-5777
-----Original Message----- From: centos-bounces@centos.org on behalf of Frank Cox Sent: Tue 10/27/2015 7:34 PM To: centos@centos.org Subject: Re: [CentOS] phpMyAdmin mbstring extension is missing
On Tue, 27 Oct 2015 19:19:42 -0500 Frank M. Ramaekers wrote:
Yes, it does in /usr/lib64/php/modules/
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.
On 10/27/2015 6:26 PM, Frank M. Ramaekers wrote:
This directory has a bunch of .ini files, so I changed it to the location of the .so files:
; Directory in which the loadable extensions (modules) reside. ;http://php.net/extension-dir extension_dir = "./" ; On windows: ; extension_dir = "ext" ; extension_dir = "/etc/php.d" extension_dir = "/usr/lib64/php/modules/"
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
On 10/27/2015 2:57 PM, Frank M. Ramaekers wrote:
/etc/php.ini has:
:
extension_dir = "/etc/php.d"
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
John,
Yeah, tried that, no improvement (same error message).
Thanks, Frank M. Ramaekers Jr.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of John R Pierce Sent: Tuesday, October 27, 2015 5:40 PM To: centos@centos.org Subject: Re: [CentOS] phpMyAdmin mbstring extension is missing
On 10/27/2015 2:57 PM, Frank M. Ramaekers wrote:
/etc/php.ini has:
:
extension_dir = "/etc/php.d"
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