php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vincent_verhoeven at hotmail dot com
New email:
PHP Version: OS:

 

 [2005-11-22 09:26 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-22 10:05 UTC] 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 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
Bogus
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 07:01:28 2025 UTC