php composer.phar update does not work

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

I'm trying to install Symfony.

I do not understand why first line run and not the second :

php c:\wamp\bin\php\php5.3.13\composer.phar update // this is ok
php composer.phar update // this is not running with error "Could not open input file: composer.phar"

What can explain this ?

get_include_path returns : .;C:\wamp\bin\php\php5.3.13\php\PEAR. Means that if composer.phar is not in PEAR directory 'php composer.phar update' couldn't works ?

Answers


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.


Need Your Help

Portable way to check if directory exists

c file directory file-exists

I would like to check if a given directory exists. I know how to do this on Windows:

Delete in bulk local git branches that contains a string

git bash terminal grep branch

Having some local git branches, let’s say for example:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.