2

I've just installed Composer and then tried to run it, but it fails:

prompt>composer
'""' is not recognized as an internal or external command,
operable program or batch file.
 
prompt>composer -v
'""' is not recognized as an internal or external command,
operable program or batch file.

I checked Env Paths... There is no answer related to this problem in the Internet.

UPD:

Program installed via win installer from getcomposer web site. It's placed in its default location.

C:\>where composer
C:\OSPanel\modules\php\PHP_7.1-x64\composer.bat
C:\ProgramData\ComposerSetup\bin\composer
C:\ProgramData\ComposerSetup\bin\composer.bat

C:\>php -v PHP 7.1.22 (cli) (built: Sep 13 2018 00:43:40) ( ZTS MSVC14 (Visual C++ 2015) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies.

1 Answers1

1

Okay. IDK how it works, but i just installed composer with "Developer mode" and select a "C:\" path. After this actions it started working. Amazing stuff...