Answer the question
In order to leave comments, you need to log in
It is not called from the composer console, it says that it is not an internal or external command. What should I do?
Everything is written in the environment variables, PHP (php -h) is called perfectly, but the composer does not want to, composer.bat is created (already recreated it several times), if you write composer -v, it does not find it, if you write composer.phar -v , then my Windows 7 tries to open this file (a window pops up where it says that there is nothing to open this file .... search on the Internet or select manually ......). I took all the installation information from articles and vidos. Tell me what could be the problem?
Answer the question
In order to leave comments, you need to log in
Tell me what could be the problem?The "problem" may be that you do not have the "composer.phar" file, which is essentially the composer's executable file. If you have
Everything is set in environment variables.this means that PHP should be correctly invoked with the "php" or "php -v" command. If so, it's a matter of small things, you just need to find where the "composer.phar" file is and call it through PHP, something like this:
php composer.phar
and then write the commands you need, for example:php composer.phar create-project ...
and now it generally throws the error "the program cannot be started because there is no CORE_RL_wand,dll on the computer" when I call composer.phar in the PHP directory
You know what's weird, if you renamed composer.bat to composer1.bat and then typed composer1 -V on the command line
, it would work...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question