php composer.phar update does not work with Symfony install

别说谁变了你拦得住时间么 提交于 2019-12-01 15:50:36

You should try this instead:

composer.phar update

Why would php be aware of your $PATH variable?

Plus, I think $PATH is only used by your shell when dealing with the first word of your command line.

INDIAN2020

Command composer self-update will do the trick.
For example:

  1. goto cmd and jump into your project folder if in case
    c:\wamp\www\{yourprojectfolder}
    as your project

  2. Run this
    cd c:\wamp\www\{yourprojectfolder}

  3. Use this
    composer self-update

You should logout and then login or restart in order to changes in path becomes available.

Junior_swashluv

Okay this is how i solved it.

  1. Download and install git bash
  2. open git bash
  3. run composer selfupdate or composer self-update

cheers hope this helps you too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!