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
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