Rahul's Tech Blog

Growth Hacking, Just Hacking or No hacking !!!

Drupal 7, Installing module throws error. Update manager … to continue, provide your server connection details and ask for FTP details

While installing a module in Drupal 7 you might face this error
to continue, provide your server connection details

to continue, provide your server connection details

to continue, provide your server connection details

It happens when apache (or any other webserver that you are using) does not have have  permission to write into sites/default and sites/all folder.

Just change the ownership (OR permission if required) of these folders and module installation will work just fine.

Here is the command to do that that in linux:
sudo chown -R www-data /path/to/site/root/sites/all
sudo chown -R www-data /path/to/site/root/sites/default

  • lalola

    Hello…. how would I go around it using a Mac? Thanks! it is all a bit confusing….