Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

COMPOSER: choose the command line php you want to use. There is nothing there

I'm using the Composer Windows installer and it brings me to this window,

enter image description here

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?

like image 685
deathlock Avatar asked May 23 '16 12:05

deathlock


3 Answers

If you are using wampp do this:

  1. Click the browser button.

  2. Then select your file path like following path.

(C:\wamp\bin\php\php5.4.12\php.exe)

If you are using xampp do this:

  1. Click the browser button.

  2. Then select your file path like the following path.

(C:/xampp/php/php.exe)

like image 104
Mathan Kumar Avatar answered Oct 16 '22 16:10

Mathan Kumar


Yes you have to select php.exe from your xampp folder if you are using localhost. choose this path... xampp > php > php.exe

like image 8
Dinesh Yadav Avatar answered Oct 16 '22 17:10

Dinesh Yadav


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.

like image 2
wmrodrigues Avatar answered Oct 16 '22 16:10

wmrodrigues