I’ve found, with each release, that automatic updates don’t work on Mac OS X out of the box. However I’ve fixed the problem for my installations – I haven’t submitted a bug fix because I don’t know that it would work on a non-Mac OS X installation.
The fix is as follows:
First, make sure that you have enabled the PHP ‘sockets’ extension. It won’t work without it. Try running
php --ri sockets
and confirm that sockets support is enabled.
Second, you need to edit one of the distribution files.
The file you need to change is wp-admin/includes/class-ftp.php
.
Search for the three calls to rawlist()
(there is one in dirlist()
, one in mdel()
and one in mget()
). Remove the ‘-la
‘ and ‘-lA
‘ options from between the quotes (i.e. leave an empty string).
After that you should find that it all works now.
It seems that sending those options to the Mac OS X ftp server confuses it…
Hope this helps some of you, if not all…
cheers
Chris