For a Drupal multi-site installation, is there any method to activate a module for all sites on the system at once instead of logging into the admin for each site individually?

  • You need to enable module at once for drupal multisite installation – ARUN Nov 14 '13 at 15:24
  • I do not understand what you are trying to say. The drupal multi site is already installed and working. I want to for instance if I am adding the honeypot module to be able to install for all the sites at once instead of logging into the admin for each individual site and activate the module for each site. – lathomas64 Nov 14 '13 at 15:30
  • How many backends you have? – ARUN Nov 14 '13 at 15:31
  • Do you mean how many separate sites? 36 currently – lathomas64 Nov 14 '13 at 15:45

I got an answer for this in the Drupal Community on Google+: Use drush @sites en your_module -y.


I wrote something to solve this a while back that iterates over every sub directory in the sites directory and performs the requested task - https://github.com/jacobbednarz/drupal-utils

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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