While working on a new wordpress install for a person in my group, I came across a problem when trying to upgrade plugins from within wordpress itself. It kept showing an “FTP connection” screen. Putting in valid ftp credentials for that server would fail with “Unable to connect” errors. WTF?
It turns out there’s a magical wordpress config setting that you can add to wp-config.php:
This forces wordpress to use some another method of updating plugins besides FTP ( I don’t really know what method it uses at this point, should research that.)