PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, March 3, 2022

[FIXED] How to update composer on windows?

 March 03, 2022     apache, composer-php, windows     No comments   

Issue

If I run composer then I get:

Warning: This development build of composer is over 60 days old. It is recommended to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-update" to get the latest version

composer UI

However, if I run the command C:\ProgramData\ComposerSetup\bin\composer.phar self-update then the following window appears, which says that the file could not be opened: cannot open file


Solution

Try

php C:\ProgramData\ComposerSetup\bin\composer.phar self-update



Answered By - Haseena P A
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing