composer-php报错--window

原创
2016/01/01 16:21
阅读数 256

问题1:Could not open input file: composer.phar

If you, like me try to use the following command in using composer

 php composer.phar update xxx/xxxx

and get this error

 Could not open input file: composer.phar

You are probably using Windows command prompt to do the update.

 

Try this instead.

composer update xxx/xxx

问题2:composer install 报错: ----window环境

network问题,以及打不开链接地址Php_network_getaddresses: getaddrinfo failed: No such host is known

需要用管理员打开cmd控制台,再执行命令



展开阅读全文
打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部