Installed OpenServer. The path to the PHP executable file of the required version D: \ OpenServer \ modules \ php \ PHP-5.6 \ has been added to the environment variables. From the command line cmd -> C: \ Users \ Alex> composer -V writes: "" "" is not internal or external command, executable program or batch file.
1 answer
you open the console in openserver-e (the flag in the taskbar -> pr.kn -> extra. you will have the path of the root folder openserver-a, using the cd modules \ php \ PHP-5.6 command you move to the php folder. then using the php composer.phar self-update update composite and voila.
- Krafik,> you open the console in openserver. But is it possible to open the console right away in the folder with php? - Yuri Morozov
|