Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示报这个错 #10

Open
zhao459399177 opened this issue Sep 12, 2018 · 6 comments
Open

提示报这个错 #10

zhao459399177 opened this issue Sep 12, 2018 · 6 comments

Comments

@zhao459399177
Copy link

PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Application.php:1096
Stack trace:
#0 /usr/share/php/Symfony/Component/Console/Application.php(650): Symfony\Component\Console\Application->stringWidth(' [Composer\Exc...')
#1 /usr/share/php/Symfony/Component/Console/Application.php(131): Symfony\Component\Console\Application->renderException(Object(Composer\Exception\NoSslException), Object(Symfony\Component\Console\Output\StreamOutput))
#2 /usr/share/php/Composer/Console/Application.php(103): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /usr/bin/composer(57): Composer\Console\Application->run()
#4 {main}
thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1096

Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\mb_detect_encoding() in /usr/share/php/Symfony/Component/Console/Application.php:1096
Stack trace:
#0 /usr/share/php/Symfony/Component/Console/Application.php(650): Symfony\Component\Console\Application->stringWidth(' [Composer\Exc...')
#1 /usr/share/php/Symfony/Component/Console/Application.php(131): Symfony\Component\Console\Application->renderException(Object(Composer\Exception\NoSslException), Object(Symfony\Component\Console\Output\StreamOutput))
#2 /usr/share/php/Composer/Console/Application.php(103): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /usr/bin/composer(57): Composer\Console\Application->run()
#4 {main}
thrown in /usr/share/php/Symfony/Component/Console/Application.php on line 1096
文件不存在
需要什么其他么?

@cabal-php
Copy link
Contributor

composer 用的国内镜像吗?

尝试使用官方镜像服务器

@cabal-php
Copy link
Contributor

还有php什么版本,是否安装了ext-mbstring

@zhao459399177
Copy link
Author

composer 使用国内镜像,php 是7.2.9 mbsring扩展也安装了

@zhao459399177
Copy link
Author

swoole 版本4.1 的会报错

@cabal-php
Copy link
Contributor

php --ri mbstring 看看

@zhao459399177
Copy link
Author

支持swoole 4.1 么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants