Composer - the requested PHP extension mbstring is missing from your system [closed]

回眸只為那壹抹淺笑 提交于 2019-11-28 17:21:38
Pranay Aryal
sudo apt-get install php-mbstring

# if your are using php 7.1
sudo apt-get install php7.1-mbstring

# if your are using php 7.2
sudo apt-get install php7.2-mbstring
  1. find your php.ini
  2. make sure the directive extension_dir=C:\path\to\server\php\ext is set and adjust the path (set your PHP extension dir)
  3. make sure the directive extension=php_mbstring.dll is set (uncommented)

If this doesn't work and the php_mbstring.dll file is missing, then the PHP installation of this stack is simply broken.

For php 7.1

sudo apt-get install php7.1-mbstring

Cheers!

Jozef Cipa

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

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