The editor below will share with you an article to quickly solve the problem of DCOM permissions calling Word components by PHP. It has a good reference value and I hope it will be helpful to everyone. Let’s follow the editor to take a look
1. First, you must install Office on your computer
2. windows r: Enter dcomcnfg.exe to open the component service, and then double-click the 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 appears:
Set the authentication level to None
3. Then click Security and set all the places where the red circle appears in the picture below to Custom, then add the Everyone user group to each one, and set the permissions to All (OK if all are checked)
Then click on the marked part and select it as the following user. The user filled in is the administrator user, and the password is the local password.
alt="" />
4. Specially, if you cannot find the Microsoft Word 97 - 2003 document part in step 2, then enter it there when running mmc -32 Then select the file in the toolbar and then select Add to delete the snap-in, then stand-alone component service to add it, click OK.
Then click on the Component Service Node. The rest is the same as the above process. Repeat steps two and three.
5. Next, we add Everyone permission to the permissions of the folders that word needs to operate, and the problem is solved.
The above article is all about quickly solving the problem of DCOM permissions of PHP calling Word components. I hope it can give you a reference, and I also hope that everyone will support the PHP Chinese website.
Explanation of PHP getting a specified column in an array
PHP array access interface ArrayAccess usage analysis
PHP iterator interface Iterator usage analysis
The above is the detailed content of Quickly solve the problem of DCOM permissions of PHP calling Word components. For more information, please follow other related articles on the PHP Chinese website!