#35325 [Opn->Bgs]: COM does not work as of version 5.0.6 of PHP
| From: | vincent_verhoeven at hotmail dot com | Date: | Tue, 22 Nov 2005 10:53:48 +0000 |
| Subject: | #35325 [Opn->Bgs]: COM does not work as of version 5.0.6 of PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88675@lists.php.net to get a copy of this message | ||
ID: 35325
User updated by: vincent_verhoeven at hotmail dot com
Reported By: vincent_verhoeven at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: COM related
Operating System: Windows 2000 AS
PHP Version: 5.1.0RC6
New Comment:
Bogus
Previous Comments:
------------------------------------------------------------------------
[2005-11-22 10:59:02] vincent_verhoeven at hotmail dot com
- Created a COM DLL with just one public function that return a simple
string value.
- Registered it in Windows 2K Advanced Server.
- Now I should be able to call the function from within my PHP code.
- After a couple of minutes I get a CGI timeout error.
- Eventlog message: "The script started from the URL '/index.php' with
parameters '' has not responded within the configured timeout period.
The HTTP server is terminating the script.
- It should not have to take this long to return a simple string
value.......
------------------------------------------------------------------------
[2005-11-22 10:05:32] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-11-22 09:26:19] vincent_verhoeven at hotmail dot com
Description:
------------
Calling a COM dll returns a timeout
Reproduce code:
---------------
$obj = new COM( "Project1.Class1" ) or die("Unable to instantiate
Project1");
echo "test=" . $obj->DoStuff(); // <-- GETTING A TIMEOUT HERE
$stack = null;
Expected result:
----------------
echo "test=" . $obj->DoStuff(); // <-- GETTING A TIMEOUT HERE
This line should return a string value
Actual result:
--------------
echo "test=" . $obj->DoStuff(); // <-- GETTING A TIMEOUT HERE
Getting a timeout after a while here.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35325&edit=1