I've seen this a lot while working with DCOM, probably COM in general. It works in some PHP version, not in others. When you debug your code, does it crash once your page has finished processing? This is when the PHP.EXE will be unloaded. We debugged it a wee bit and found out that apparently PHP tries to release references to COM objects too many times, hence the crash. If it really is COM related, I found these version to work OK
- PHP 4.0.6
- PHP 4.2.3
After 4.0.6 the bug got in and only got fixed in 4.2.3 and got re-introduced with 4.3.0...
Hope this can help you solve your problem...
T