R: [PHP-WIN] PHP and Word via COM
| From: | Giuseppe D'Ambrosio | Date: | Fri, 03 Nov 2000 12:24:16 +0000 |
| Subject: | R: [PHP-WIN] PHP and Word via COM | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3661@lists.php.net to get a copy of this message | ||
-----Messaggio originale-----
Da: William Lai <wlskspam@usa.net>
A: php-windows@lists.php.net <php-windows@lists.php.net>
Data: venerdì 3 novembre 2000 12.00
Oggetto: [PHP-WIN] PHP and Word via COM
>Hello All,
>
>I run a script that calls MS Word 2000 (new COM("Word.Appplication")) to
>manipulate several word files. The script runs fine in my computer with PWS
>and PHP 4.0.3pl1. However, when I put the script to our NT Server 4
(running
>IIS4 and PHP 4.03pl1), the following error occurs:
>
>Warning: Unable to obtain IDispatch interface for CLSID
>{000209FF-0000-0000-C000-000000000046}: Server execution failed in
>office.inc on line 80
>
>Fatal error: Maximum execution time of 30 seconds exceeded in office.inc on
>line 80
>
>I think this is security problem so I add IUSR account to the local group
>administrator. I also checked the "Allow Service to interact with desktop"
>for the world wide web publishing service. The error still occurs.
>
>Do anyone have solution for this problem?
>
I think this is a known issue about php running as apache module;
you can make it work executing the script as CGI..
HTH,
Giuse
/-------------------------------\
| http://boltthrower.webhop.org |
\-------------------------------/