F
F
fapchat2019-09-21 11:37:59
bash
fapchat, 2019-09-21 11:37:59

Why can't ubuntu bash see composer in windows 10?

This is bash

[email protected]: /mnt/c/Users/User# composer
/mnt/c/ProgramData/ComposerSetup/bin/composer: 14: /mnt/c/ProgramData/ComposerSetup/bin/composer: php: not found

And here is the Windows command line
C:\Users\User>composer
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
....

Have I installed composer correctly?
I see bash swearing at what's in
C:\ProgramData\ComposerSetup\bin
no php, but should it be there? 5d85e0e166a3c561718922.png
But in the folder with the PHP used, I also have a composer file
5d85e15a80242122081327.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question