In the end I ran this past Activestate's tech support on IRC (#Komodo on irc.mozilla.org) who were really helpful. We couldn't work out what the problem was, though, so I ended up uninstalling XAMPP and Komodo, reinstalling both, and then following the instructions in the Komodo docs.