First, I apologise for this question, it'll probably look very simple to a lot of you, but I am quite new at this and can't seem to figure it out.

I am working on a project that requires that I import a lot of data from a wordpress site. For that I want to use wordpress migrate. This module recommends me to use drush to transfer the data.

After having had quite a lot of problem installing it (thank you windows) I finally managed it. Now I'd like to use drush on one of the projects that's in my wamp\www file.

How do I do that? I've been looking but can't find the solution

I tried the commands from this: https://www.drupal.org/node/1958170 but it says : "Command variable-set needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. Command variable- set requires Drupal core versu=ion 6 or 7 to run."

I am working with drush 7 and I am hoping to use it on a drupal 7-*...

Please help!!!!!

==== EDIT ====

Once I'm in the right place I no longer get the "needs a higher bootstrap level".

After reading a few things to sort out my problem (and probably messing things up) it came back, even if I am inside the sites folder.

I can download new modules but cannot enable them I cannot activate the migrate module and commands

and I don't see the PDO drivers listed when I do drush php-eval "phpinfo();"

cmd printscreen

What's wrong with drush ?

1 Answer 1


The "needs a higher bootstrap level" error means that you're not in the right directory to call drush.

Where's your drupal source directory ? cd to that directory , and try your drush command again...

  • my drupal project is in c:\wamp\www\projectname Jul 28, 2015 at 14:48
  • cd there and try your drush command.
    – rtome
    Jul 28, 2015 at 14:49
  • You could also try to cd in the the sites folder c:\wamp\www\projectname\sites[yoursitename or default] and run drush from there Jul 28, 2015 at 14:49
  • hmm what am I missing... now it says :"not able to start (bootstrap) the drupal database" Jul 28, 2015 at 15:20
  • Have a look at this thread : drupal.org/node/1393232 . Are your PDO drivers listed when you do drush php-eval "phpinfo();" ?
    – rtome
    Jul 29, 2015 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.