PHP calls COM component Configuration take OpenOffice as an example
What is a COM component?
COM architecture, people can develop a variety of functional-specificity components, and then combine them as needed to form a complex application system. COM and language, platform-independent features enable all programmers to fully develop their talents and expertise in writing component modules.
The purpose of the configuration is primarily to solve the problem of inability to create COM objects, actually to implement the functionality of Word PPT XML into PDF
The COM Component Configuration group in PHP call OpenOffice is divided into three steps
1. JDK support, possibly with both software and sun company
Download Address http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
2. Installing OpenOffice
Download Address http://www.openoffice.org/
3. Configuration of permissions
. Run Dcomcnfg.exe
Component Services--computer--My Computer ――dcom configuration--Select
Right-click--Properties--
Configure two red markers in a diagram
Mark---Select an interactive user
Security--Start and Activate permissions and access permissions to configure
Same way
For editing
Icon
Complete the task at this point