Composer - 您的系统中缺少请求的 PHP 扩展 mbstring

2022-01-21 00:00:00 php composer-php mbstring

我最近尝试通过 Composer 安装包,但我收到一个错误您的系统缺少请求的 PHP 扩展 mbstring.我从 php.ini 中删除了分号,但它仍然不起作用.我该怎么办?

I've recently tried to install package through Composer, but I have got an error the requested PHP extension mbstring is missing from your system. I removed semicolon from php.ini, but it still doesn't work. What should I do?

推荐答案

我在 php.ini 中设置了 PHPRC 变量并取消了 zend_extension=php_opcache.dll 的注释,一切正常好.

I set the PHPRC variable and uncommented zend_extension=php_opcache.dll in php.ini and all works well.

相关文章