简体   繁体   中英

Composer Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv() in phar

I'm using WHM/Cpanel with PHP 7.0 with all extensions like iconv, mbstring installed via easyapache 4. But when i am trying to install a magento plugin by caling composer require firebear/importexportfree

I am getting this message on putty,

Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv() in 
phar:///opt/cpanel/composer/bin/composer/vendor/symfony/polyfill-
mbstring/Mbstring.php on line 513

I had checked on the server for the status of both the extensions iconv and mbstring using php --ri iconv and php --ri mbstring

Symfony有iconv-polyfill,您需要在作曲家中添加

composer require symfony/polyfill-iconv

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM