Drupal asking for FTP info when installing module?

I recently installed a LAMP stack (Ubuntu Linux Server) to run Drupal 7.

When I attempt to install a module via the web interface, I get prompted for FTP information?  

I'm assuming this is related to some permissions issue?

How do I circumvent this FTP challenge so I follow through on updates and module installs?

See screen capture.
sc1.jpg
sandshakimiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Scott MadeiraConnect With a Mentor Commented:
Have a look at this...  I think it addresses your problem.

http://drupal.org/node/956030

Also, take a look at DRUSH as a way to install modules in Drupal.  It is very nice.

http://groups.drupal.org/node/134369
0
 
junipllcConnect With a Mentor Commented:
I use Ubuntu as well, and FTP is not installed by default. However, SSH is, which means you can use SFTP (SFTP is basically file transfer via SSH). If you have a login/pass for the server user account that owns the Drupal install, then you can most likely use it in that screen (change to SFTP, of course).

What Drupal is basically trying to do is log into the server and update the files for the module(s) that need updating. Before this feature, we had to SFTP (or FTP) into the server and upload the files manually.

If you do have shell access, which I imagine you are as the admin, I definitely second smadeira's sentiment about drush. Life is much easier with drush:

sudo apt-get install drush

Mike
0
 
Aaron FeledyConnect With a Mentor Drupal Developer and ConsultantCommented:
I just dealt with this the other day. The solution was to change ownership of my sites directory to apache so it could write in the proper directories.

Something along the lines of
chown -R apache sites/

Open in new window

0
All Courses

From novice to tech pro — start learning today.