【问题标题】:How to install php7-mbstring in MAMP php 7.0.15如何在 MAMP php 7.0.15 中安装 php7-mbstring
【发布时间】:2023-03-23 02:10:02
【问题描述】:

如何在 Mac OS 中为 PHP 7.0.15 安装 mbstring 由 MAMP 维护?

我尝试使用sudo port,它不起作用

【问题讨论】:

    标签: macos mamp php-7 macos-sierra mbstring


    【解决方案1】:

    您是否尝试过激活 mb_string ? 检查 php.ini 文件中的 php 安装。在配置的扩展部分中,您应该找到:

    ;extension=php_mbstring.dll
    

    去掉开头的';'取消注释并启用这样的扩展:

    extension=php_mbstring.dll
    

    重启你的apache,它应该可以工作了。

    【讨论】:

    • mamp 是 osx 软件,它使用 .dll 扩展名而不是 .so 吗?
    猜你喜欢
    • 2017-08-09
    • 1970-01-01
    • 2014-03-14
    • 2012-05-03
    • 2015-04-30
    • 2016-04-04
    • 2012-02-16
    相关资源
    最近更新 更多