|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-15 19:29 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
Description: ------------ When I try and execute my script which uses COM function to execute Word on the users computer, the following error is given: Warning: Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}: The RPC Server is not available. in C:\program files\apache group\apache\htdocs\naseg\meetlist.php on Line 6 Reproduce code: --------------- $ip = $REMOTE_ADDR; $word=new COM("Word.Application", $ip) or die("Cannot start word for you"); My PHP.ini file ([com] section) ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ;com.typelib_file = ; 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