J
J
Jedi2017-12-12 17:31:54
PHP
Jedi, 2017-12-12 17:31:54

How to solve composer error: '""' is not recognized as an internal or external command, operable program or batch file.?

I installed Composer and chose php from OpenServer there. When calling the composer command, composer -v gives the error '""' is not recognized as an internal or external command,
operable program or batch file.
. The php-v command works, but compote does not.
I use Windows 10
Who faced such problem? How to solve it?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
idkiberlord077, 2019-11-21
@PHPjedi

Raise the path in PATH to composer higher than the path in PHP.

V
Valery, 2017-12-12
@it_monk

So can php composer.phar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question