Search code examples
phpxamppcomposer-php

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?


Solution

  • 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)