For update Wordpress with a localhost installation, you must configure and get access with your FTP-client. We use XAMPP as FTP-Client. If it installed we have to “Start” the FTP-Client. Now we are ready to download and update Wordpress PlugIns.
With a XAMPP installation on Apple OS X the FTP connection is not configurated automaticly and we have to do this. It means the connection informations, like Hostname, the FTP Username and the FTP Password are missing. Of course it appears an dialog as the screenshot shows above.
The connection information (user and password) are stored in the ProFTPd config file (www.apachefriends.org/de/xampp-macosx.html#859). Watch out for these entries.
# Set the user and group under which the server will run. User nobody ... # nobody gets the password "xampp" UserPassword nobody 2TgxE8g184G9c RequireValidShell off
The Hostname is:
The FTP-connection information can be stored permanently in the
define('FTP_HOST', 'localhost'); define('FTP_USER', 'nobody'); define('FTP_PASS', 'xampp');
A second error can be folder access problems, missing folder or read/write rights. Because the access rights Wordpress can not create the needed folders for plugin downloads and updates. We must create these two folders and give them read/write rights for Wordpress.
Create this two folders
Give Wordpress read/write access to them:
Now we should download and install Wordpress Plugins.