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

相關文章
相關標籤/搜索