COM objects win2000 PHP4.02
| From: | Mize, Robert | Date: | Tue, 28 Aug 2001 17:29:42 +0000 |
| Subject: | COM objects win2000 PHP4.02 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9092@lists.php.net to get a copy of this message | ||
I am having issues instantiating word or excel using COM.
I get the error:
Warning: Unable to obtain IDispatch interface for CLSID
{000209FF-0000-0000-C000-000000000046}: Access is denied. in
C:\Inetpub\wwwroot\website\excel\word.php on line 3
Unable to instanciate Word
Line 3 is:
$word = new COM("word.application") or die("Unable to instantiate Word");
I have changed permissions everywhere I can think of (office executables and
web dirs), I have added com.allow_dcom = true to php.ini. I'm not sure
what else to try.
Anyone know what I am doing wrong?
Thanks,
rob.