Composer - 您的系统中缺少请求的 PHP 扩展 mbstring [英] Composer - the requested PHP extension mbstring is missing from your system

查看:33
本文介绍了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.

这篇关于Composer - 您的系统中缺少请求的 PHP 扩展 mbstring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆