PHPBuilder - Interfacing with COM objects under Windows Page 2



RSS Twitter
Articles Application Architecture

Interfacing with COM objects under Windows - Page 2

by: Siddharth Venkatesan
|
May 1, 2003

Check and modify php.ini settings.

Open up your php.ini file. This should be located in your windows or windows\system directory. Search for the section with the title [com] Within this section, set the following:
; allow Distributed-COM calls com.allow_dcom = true ; autoregister constants of a components typlib on com_load() com.autoregister_typelib = true ; register constants casesensitive ;com.autoregister_casesensitive = false ; show warnings on duplicate constat registrations com.autoregister_verbose = true

Modify COM permissions to Allow PHP to Use the COM Interface

From the Start menu, select run and type dcomcnfg, as in the image below :
Run Window
Depending on the version of windows you are running, a screen which resembles the one below will appear.
Component Services Window

« Previous Page
1
|
2
|
3
|
4
|
5
|
6
|
7
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Siddharth Venkatesan

Comment:



Comment:

(Maximum characters: 1200). You have characters left.