Posted by JSCSJSCS on March 6, 2012 at 4:32pm
WAMP installs PHP in a subdirectory of WAMP during the installation process. Installing Drush via http://drush.ws/drush_windows_installer also installs some kind of PHP in its subdirectory and "drush status" will show that it is using that php.ini file.
Why doesn't Drush just use the WAMP installed php files and WAMP's php.ini? Why do I need two php directories full of files? Can't I just use the WAMP php files for Drush, and if so, how?

Comments
Drush needs php and on
Drush needs php and on windows it could be installed anywhere. So it just installs its own php. IFAIK
Manual Install
I installed Drush on an XP VM using the manual method and it uses the correct php.ini file under WAMP.
Shouldn't need the second copy
I don't use Windows, but I was curious about this. It looks like Drush's windows installer allows you not to install the PHP binary, but it's up to you to make sure that it's in your path so drush can find and use it. The other versions have the DRUSH_PHP environment variable that lets you tell Drush where to find PHP, so I imagine that as long as php.exe is in your path somewhere, you should be able to ditch the one drush installs.
http://drush.ws/sites/default/files/attachments/Drush%20Installation%20G...
Frustration and Capitulation
After your generous replies, I struggled to get the drush.org windows installer to respect the WAMP php installation. I was unsuccessful in every permutation. I could not even get the windows installer to reinstall and work like it did before I started playing around with it. Sadly, I had to revert to the standard manual download of drush, GnuWin Lib, wget, tar and gzip with associated PATH entries to get everything working again.
I really appreciate every comment and suggestion you all gave, but I am just not learned enough to figure this out. Thanks.
James Sinkiewicz
Drupal Site Builder and Generalist
http://MyDrupalJourney.com
I suggest you look at
I suggest you look at http://drupal.org/project/quickstart as an alternative to WAMP (or even MAMP). It'll save any headaches related to making PHP/Apache or the like behave similar to how it will once deployed.
Quickstart is a full blown LAMP stack (ubuntu) that runs inside a virutalbox setup -- has many benefits, such as less "muck" setup on your actual machine, and has all kinds of goodies already setup for you! Apache, MySQL, PHP, Drush, Squid, xdebug, Netbeans, Eclipse, Firebug, Drupal for Firebug, etc, etc. Even some custom Drush scripts that make setting up a new Drupal Project in one command
drush quickstart-create --domain=mynewproject.dev.--
mike stewart { twitter: @MediaDoneRight | IRC nick: mike stewart }
Thanks Mike
I have that installed from a while ago. I just did not have the gumption to learn a new OS on top of learning Drupal :) I am comfortable in the Windows environment and want to stay in my comfort zone for now. Ultimately, I will have to learn Ubuntu/Linux, but time is always an issue it seems.
James Sinkiewicz
Drupal Site Builder and Generalist
http://MyDrupalJourney.com