Support » Fixing WordPress » WordPress needs to access your web server. Please enter your FTP credentials

  • Alpo

    (@alpokoskiniva)


    Hello

    I faced a strange thing. My WP setup wants to perform the update by using FTP-connection. WP wants the hostname, FTP Username and FTP Password. We do not even have FTP in our setup.

    Before WP updated successfully without any specific tricks. We use Easy Updates Manager Premium but it should not be the issue.

    Any idea why WP acts like that way? Help is highly appreciated 🙂

    Br Alpo

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    WP asks for FTP credentials if it can’t write to the files in the WP tree. Where are you hosting your site?

    Thread Starter Alpo

    (@alpokoskiniva)

    Hi Steve and thank you for your super quick reply.

    I have browsed the topic over the support forums and it seems this is the case. But it is mystery, why it did that?

    We have own setup in Azure cloud.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Check your file ownerships. They should be the same as the userid under which the PHP process is running, with permissions 755/644 on directories/files, respectively.

    If, however, you’re running a Windows server, I’ve got no idea, though the same principle applies.

    Yes, Steven is right, same principle applies for Windows as well.
    File ownership and right permission is the issue in your case.

    Thread Starter Alpo

    (@alpokoskiniva)

    Case solved.

    The solution was adding the following line to wp-config.php file (just above the database configuration):

    define( ‘FS_METHOD’, ‘direct’ );

    Thank you so much for your contribution and merry x-mas!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress needs to access your web server. Please enter your FTP credentials’ is closed to new replies.