composer-php报错--window

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

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

 php composer.phar update xxx/xxxx

and get this errorbash

 Could not open input file: composer.phar

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

 

Try this instead.this

composer update xxx/xxx

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

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

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

相关文章
相关标签/搜索