It quickly solves the problem that PHP calls the DCOM permission of the Word component, worddcom
1. First, you must install the Office on your computer
2. windows + r: Enter dcomcnfg.exe to open the component service, and then double-click component service ==> double-click computer ==> double-click my computer ==> open DCOM Configuration
Find the Microsoft Word 97-2003 document and right-click Properties.
The following page is displayed:
Set the authentication level to none
3. Click "security" to set the display areas in the Red Circle to custom. Then, add the Everyone user group and set the permissions to all (Check all the permissions and click OK)
Click "mark" and select "administrator user" as the following user. "password" is the local password.
Alt = ""/>
4. if the Microsoft Word 97-2nd Document section cannot be found in step 1, enter mmc-32 at run, select a file in the toolbar, and select add or delete a management unit, then, add the standalone component service and click OK.
Then, click the remaining components of the component service node to keep up with the above process. Repeat steps 2 and 3.
5. Next, we will add the Everyone permission for the folder to be operated by word. This problem is solved.
The above Article quickly solved the problem of PHP's permission to call the Word component DCOM, that is, all the content that I shared with you. I hope to give you a reference, and I hope you can provide more support for the customer's house.