Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By BruceG_GLBSOFT on
Hi, I have Drush installed under etc/drush and it appears to be working fine. I can type in drush status and the install info is displayed. However when I type in a command to installed a module, drush dl rules for example, I get the msg. "Could not download project status information from http://updates.drupal.org/release-history/rules/7.x"
"could not download requested project(s)"
any ideas on why this is happening and how to fix?
Comments
When I am working locally
When I am working locally with WAMP, if I do not set the temp folder correctly, I get similar errors. Take a look at that.
Accessing Drush
It might help to note I am accessing Drush via SSH on PC, remotely to the Linux. I am looking into setting up a Drush alias (Googling). If anyone has done this successfully let me know the easiest/best way.
thanks
If you are running Drupal on
If you are running Drupal on a Linux machine, you will need to install Drush on your server, not your local workstation. You will have to run
drush dl masquerade
from the command line of your server to have it download the modules on your server.working now
Thanks, I have Drush working now.
This is an old post but,
This is an old post but, could you tell us how you solved it?
ReggieW
Turn "allow_url_fopen" off in your php.ini file
This is an old issue but, this happened to me recently on my local machine.
I've been using Drush on my local machine for a couple of years. Out of nowhere this problem popped up. I was able to resolve it by turning "allow_url_fopen" off in my php ini file.
ReggieW