Missing mbstring PHP extension when installing phpMyAdmin on Mac

倾然丶 夕夏残阳落幕 提交于 2019-11-29 15:36:40

Like the error message says, your PHP installation lacks the mbstring extension. The Apple-provided PHP 5.3.3 in my Snow Leopard seems to have it, but many distributions bundle the extensions separately. For instance, if you use PHP from macports you need to install the php5-mbstring -package with:

sudo port install php5-mbstring

Minor note - if you have installed a different version of php (like php5.5) you must install the correct version of the mbstring package. In my case:

sudo port install php55-mbstring

To activate, you have to have a line like this in your php.ini file:

extension=mbstring.so

Which comes from:

/opt/local/var/db/php55/mbstring.ini

(if you use the default macports install root).

In the newest php versions the "extension_dir" path is not enabled initial.

It works with Windows and Linux, so maybe it helps also on MacOs ... :)

screenshot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!