COMPOSER: choose the command line php you want to use. There is nothing there
Solution 1
If you are using wampp do this:
Click the browser button.
Then select your file path like following path.
(C:\wamp\bin\php\php5.4.12\php.exe)
If you are using xampp do this:
Click the browser button.
Then select your file path like the following path.
(C:/xampp/php/php.exe)
Solution 2
Yes you have to select php.exe from your xampp folder if you are using localhost. choose this path... xampp > php > php.exe
Solution 3
I came across the same screen. I'm using Vertrigo Server and all the things that I have done was pick the php.exe file path by clicking on "Browse..." button (on my machine it is on C:\Program Files\VertrigoServ\Php\php.exe). Hope that helps.
Solution 4
If you are using Ammps on Windows, you can click Browse -> 'C' -> Program Files -> Ammps -> 'Your PHP Version' -> php.exe, Worked for me.
Comments
-
deathlock over 2 years
I'm using the Composer Windows installer and it brings me to this window,
There is nothing in the dropdown, but I'm not sure where to pick the correct command-line PHP. Should I direct it to the php.exe in XAMPP folder?
-
Muhammad Ali over 2 yearsgreat answer @dinesh
-
Nico Haase over 2 yearsPlease share more details. What do you mean by "here"?