Title: FTP Credentials Required
Last modified: August 22, 2016

---

# FTP Credentials Required

 *  [joras](https://wordpress.org/support/users/joras/)
 * (@joras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ftp-credentials-required/)
 * I’m trying to use WordPress to setup a Web Server on a Raspberry PI B+ but I 
   keep getting the following request:
 * To perform the requested action, WordPress needs to access your web server. Please
   enter your FTP credentials to proceed. If you do not remember your credentials,
   you should contact your web host.
 * Nothing I have done works. I’ve tried reconfiguring the server, downloading ftp,
   software, but can’t get past this page.
 * What am I doing wrong? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ftp-credentials-required/#post-5737639)
 * This is a common shortcoming of localhost installs, there being no FTP server.
   This requirement can be evaded by adding this to your wp-config.php file:
    `define('
   FS_METHOD', 'direct');`
 * ps: Don’t expect your RaspberryPi server to set any speed records, have you seen
   the announcement for the new board ? 1Gb RAM + multiple cores.
 *  Thread Starter [joras](https://wordpress.org/support/users/joras/)
 * (@joras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ftp-credentials-required/#post-5737721)
 * Thanks RossMitchell. I no longer get the ftp credentials error message. I do 
   still have a permissions issue and now I get this message:
 * Could not create directory. /srv/www/wp-content/localhost/upgrade/visits-counter.
   tmp
 * Do you have any suggestions as to how to get past this? Thanks.
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ftp-credentials-required/#post-5737725)
 * This will be useful:
    [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 * In brief you need to have the website directories with suitable owner and permissions
   so that the PHP engine can create the necessary directories and files.
 *  Thread Starter [joras](https://wordpress.org/support/users/joras/)
 * (@joras)
 * [11 years ago](https://wordpress.org/support/topic/ftp-credentials-required/#post-5737800)
 * Thanks for the response.
 * I understand the concept of permissions, but I can’t seem to figure out how to
   do it. Also, I am a little confused about where to do it, i.e. root superuser
   or regular user. Sorry to be so slow. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘FTP Credentials Required’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 4 replies
 * 2 participants
 * Last reply from: [joras](https://wordpress.org/support/users/joras/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/ftp-credentials-required/#post-5737800)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
