Could not fetch https://api.github.com/repos/symfony/css-selector/zipball/4613311fd46e146f506403ce2f8a0c71d402d2a3, please create a GitHub OAuth token togoover the API rate limitHeadto https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+wanwandeMacBook-Pro.local+2016-01-09+1408to retrieve a token. It will be storedin"/Users/wanwan/.composer/auth.json"for future useby Composer.
Token (hidden):
我想问一下,window7系统 laravel new laravel时提示:
[GuzzleHttp\Exception\ConnectException]
cURL error 7: Failed to connect to 127.0.0.1 port 1080: Connection refused
(see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
怎么解决啊,怎么是连接127.0.0.1呢,环境变量我也加进去了
执行composer create-project laravel/laravel Laravel5
出了这个问题Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.4.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/framework v5.4.8 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/framework v5.4.7 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
安装了还是不行,php-mbstring 已经是最新版 (1:7.0+35ubuntu6)。
但问题变了一些: Problem 1
- phpunit/phpunit 5.7.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.