The following small series for everyone to share a quick solution to the PHP call Word component DCOM permissions problem, has a good reference value, I hope to help you. Let's take a look at it with a little knitting.
1. You must first install Office on your computer
2. Windows+r: Enter Dcomcnfg.exe open Component Services, and then double-click Component Services ==> double-click Computer ==> Double-click My Computer ==> Open DCOM Config
Locate the Microsoft Word 97-2003 document, and then right-click Properties.
The following page appears:
Set the authentication level to None
3. Then click on Security to set all the red circle occurrences to custom, then each add the Everyone user group and set the permissions to all (tick all OK)
Then click on the Identification section, select it as the following user user is the administrator user, password is the local password.
alt= ""/>
4. Special If you cannot find the Microsoft Word 97-2003 document section in the 2nd step, then run there to enter mmc-32 then select the file in the toolbar and then select Add Delete snap-in, then add it to the standalone component service and click OK.
Then click on the Component Services node the rest is the same as the above process, repeat steps two and step three.
5. Next we'll add the permissions for the folder that Word needs to manipulate, and the issue is resolved.
The above article quickly resolve the PHP call Word component DCOM permissions problem is small part of the whole content to share to everyone, I hope to give you a reference, but also hope that we support PHP Chinese network.
Articles you may be interested in:
PHP Gets an example of a column specified in the array to explain
Analysis of usage of PHP array-type access interface arrayaccess
Analysis of PHP iterator interface iterator usage