|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35325 COM does not work as of version 5.0.6 of PHP
Submitted: 2005-11-22 09:26 UTC Modified: 2005-11-22 11:53 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: vincent_verhoeven at hotmail dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.1.0RC6 OS: Windows 2000 AS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 - 30 = ?
Subscribe to this entry?

 [2005-11-22 09:26 UTC] vincent_verhoeven at hotmail dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-22 10:05 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

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 10:59 UTC] 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 11:53 UTC] vincent_verhoeven at hotmail dot com
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 00:03:40 2023 UTC