It shouldn't be locking the file.
Is there any chance that you have a "zombie" process that does have a lock? I noticed some weird locking behaviour like this today using a recent cygwin release (seems like bash held a lock on a directory that I had cd'ed into earlier in the day). This was totally unrelated to PHP.
I use Zend IDE, so yes, this is possibly the cause, I will experiment with all the zend extensions unloaded and see if it fixes it.
Are you also sure that this isn't the infamous need-to-sleep(1)-after-unlink-before-creating-a-new-file problem that has existed on Windows for while?
Perhaps it crept into XP SP 2? The thing is, it only happens in PHP 5, PHP 4 has had no race condition issues.
There is a delicate balance between the registry/dependency registry that has caused problems, but this race condition seems to be completely unrelated, as the race was always caused on the .lock file. This occurs on any old random file that is being installed.
Greg
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php