Tag Archives: automatic update

WordPress Auto-Update

By default, standard WordPress installs give the option to perform automatic updates using FTP or FTPS (FTP over SSL). There is another method to have Apache perform the update without passwords. It can be activated by adding the following to the wp-config.php file:

define('FS_METHOD', 'direct');

This does require that you have the permissions set up correctly, and you should be aware that there are serious security implications doing this.

Details on the settings for wp-config.php can be found in the documentation Editing wp-config.php.

WinXP SP3 Breaks Automatic Updates

Windows XP Service Pack 3 can break the automatic updates under certain circumstances due to a DLL that may not be registered. If the update system starts to fail with messages like “updates not installed”, do the following:

  1. Stop the update service:
    net stop wuauserv
  2. Register the DLL:
    regsvr32 %windir%\system32\wups2.dll
  3. Restart the update service:
    net start wuauserv

The update service should work again.