php composer.phar update does not work with Symfony install

前端 未结 4 511
天命终不由人
天命终不由人 2021-01-17 21:12

I\'m running WAMP on Windows 7 64 Bits. The PATH variable is set to c:\\wamp\\bin\\php\\php5.3.13\\

 

I\'m trying to install S

相关标签:
4条回答
  • 2021-01-17 21:50

    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.

    0 讨论(0)
  • 2021-01-17 21:55

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

    0 讨论(0)
  • 2021-01-17 22:06

    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.

    0 讨论(0)
  • 2021-01-17 22:07

    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
    0 讨论(0)
提交回复
热议问题