Sorry if this has already been answered, but i did a quick search and found nothing about it...
I installed a new Win2K Server SP3 today at work to replace an old one, and downloaded the latest versions of apache 1.3.27 and php 4.3.1 for win32.
I upload the previous PHP files to the new server, but nothing worked. After some debugging, i can't seem to make this code work:
test.php:
<?php
$obj = new COM("MSXML2.DOMDocument");
?>
The page does not execute. It seems that php freezes and nothing happens.
When i connect directly with telnet (apache is on port 8080):
c:> telnet server 8080
GET /test.php
nothing happens for ~30s, and then the connection is closed by apache. (a "GET /" shows the main page instantly, as well as "GET /page_with_no_com.php")
I tried with hundreds of other PROGIDs and samples from php.net, but nothing worked. I tried the same progids in an ASP page on the same serveur, and it worked well.
Nothing shows up in the error logs (syslog or file)...
I have Apache 1.3.26 and PHP 4.2.3 on another Windows XP host, and it works. I use the same php.ini config for the XP and the Win2K server....
I checked all non-COM functions (php pages, mysql queries, xslt,..) and every is working fine, except COM...
Any ideas ?