Quick troubleshooting PHP calls to Word component DCOM permissions

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.