php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9837 Cannot connect with a remote MTS server
Submitted: 2001-03-19 10:14 UTC Modified: 2001-05-01 08:27 UTC
From: jrodriguez at optimat dot com Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-03-19 10:14 UTC] jrodriguez at optimat dot com
We try the following code to obtain a com object:

$com_object = new com("comObj.classObj","server");

And , if the server is not the same as the one that is running PHP + IIS  , we cannot create the object.

Do I really need to have a machine IIS+Php+MTS to create a com object?
Am I missing anything?

And yes , I "touched" the PHP.INI to enable COM.

Thanks in advance!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-20 17:58 UTC] phanto@php.net
are you sure you have granted your webserver to invoke your com-object ?
if your servers are not in the same winnt domain you have to set the access permissions for your com-object to 'everybody'.
you can do this with dcomcnfg.exe.

can you invoke the object somhow else (e.g. vb, perl, ..)?

 [2001-05-01 08:27 UTC] phanto@php.net
no feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 14:01:26 2024 UTC