Missing mbstring PHP extension when installing phpMyAdmin on Mac

前端 未结 3 1348
生来不讨喜
生来不讨喜 2020-12-21 06:39

PhpMyAdmin install errors

Having some issues with installing phpMyAdmin. I would like to resolve the following issue, but don\'t have a clue where to start (except m

相关标签:
3条回答
  • 2020-12-21 07:09

    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

    0 讨论(0)
  • 2020-12-21 07:19

    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
    
    0 讨论(0)
  • 2020-12-21 07:28

    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).

    0 讨论(0)
提交回复
热议问题