Solved

Drupal asking for FTP info when installing module?

Posted on 2013-01-08
3
1,012 Views
Last Modified: 2013-01-24
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
0
Comment
Question by:sandshakimi
3 Comments
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 167 total points
ID: 38755759
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
 
LVL 12

Assisted Solution

by:junipllc
junipllc earned 167 total points
ID: 38756821
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
 
LVL 13

Assisted Solution

by:Arrow_1
Arrow_1 earned 166 total points
ID: 38757402
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

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question