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.

If receiving the FTP prompt "WordPress needs to access your web server" for WordPress updates add the following line to your wp-config.php file:

define('FS_METHOD', 'direct');


Once updated remark or remove the line as this will cause security issues.
  • 161 Users Found This Useful

Was this answer helpful?

Related Articles

WordPress error "The uploaded file could not be moved to..."

WordPress gives you the following error "The uploaded file could not be moved to...

WordPress Error : Sorry, this file type is not permitted for security reasons.

.svg and .xap files can result in the error "Sorry, this file type is not permitted for security...

Create Static Files with your WordPress Install

Reduce the processor and memory load of your site but publishing it into html files:...

JetPack server was unable to connect with your site

"Error Details: The Jetpack server was unable to communicate with your site...

PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

PROBLEM When you try to update WordPress or install plugins, the downloader / installer page pops...