First off, This module rocks! What it does for the update.mod is awesome! That said I am having a little trouble with some of the more advanced functions, mostly due to windoze, im guessing.

Im running WAMP on my pc for a testing environment. The actual server it will eventually reside on is linux, of course. I have installed cygwin which emulates the linux command line on vista, I may be missing some pckages I guess, however I installed all the basics plus added a lot of what seemed relevant. Heres what I am getting so far....

In cygwin command line when I cd to the drush module directory, works fine I can 'dir' and see all of the files just fine, but when I try to type some of the commands from your read-me (both the win and linux commands) it always returns "" bash: drush.bin: command not found "". or "" bash: drush.php: command not found "".

When using the windows cmd lineI cd to the drush folder and dir, can see all the files here too, but I get... "" php.exe is not recognized as an internal or external command, operable program or batch file "" when I try to run any of the code from your readme.

Does anyone here have any experience getting this to work on your windoze localhost? Or is there just something really stupid that I am missing here, other than switch to a nix os?

Comments

moshe weitzman’s picture

Status: Active » Fixed

Try specifying the full path to php.exe and to drush.php. In order to make that requirement go away, add both of their directories to your PATH.

Macronomicus’s picture

Thanks ... I've some catch up to do when it comes to cmd line stuff ... thanks for the tip in the right direction!

Cheers

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Macronomicus’s picture

Just wanted to add some bits I found in case someone else finds this post and is unclear about this as I was when I had this problem.

To check which php is set in the path (if any) type the following in your cygwin command line.
which php

The following link describes how to add things like php path to the system path on windows through the UI
(I needed this because windoze wouldn't let me use the command line to alter the path per some weird permission shite [i think])
http://us2.php.net/manual/en/faq.installation.php#faq.installation.addto...

Macronomicus’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Ok I thought I was out of the woods but drush is still kicking my but.

I am able to run drush.php and drush.bat but I have to be in the drush directory and it only works when I type it
out as ./drush.bat or ./drush.php

When typing....
drush help
or
drush.bat help
or
./drush.bat help
I get nothing but....
bash: drush: command not found
The only thing that seems to work is ./drush.bat or ./drush.php if im in the dir

I would really love to get this working on my testing server, I think it will speed up my work a ton but I still cant get it to work! lol lame I know.

I have the path to drush in my system path... as such... is that right?
C:\wamp\www\testsite\sites\all\modules\drush\drush.bat
I have also tried
C:\wamp\www\testsite\sites\all\modules\drush
and
C:\wamp\www\testsite\sites\all\modules\drush\drush.php

Macronomicus’s picture

Version: 5.x-1.0 » 6.x-1.2

Just updating my version ... I didn't realize how old my original post was! ^_^

Macronomicus’s picture

Status: Postponed (maintainer needs more info) » Fixed

Finally after about a year I found the solution! ... Take wamp and dump it in the crapper! Your better off virtualizing a dev LAMP server with vmware or similar.
Seriously there should be a toxic drupal scull warning somewhere... NEVER use WAMP! lol

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.