How to integrate ONLYOFFICE Document Builder into your own web site on PHP
To integrate ONLYOFFICE Document Builder into your own website on PHP you need to download and install ONLYOFFICE Document Builder on your local server and use the PHP Example for their integration. We guide will show you how to run the PHP example on Windows OS.
Running the example on Windows OS
Step 1. Download and install ONLYOFFICE Document Builder
First, download ONLYOFFICE Document Builder and install it to your computer.
Step 2. Download the PHP example code for the builder integration
Download the PHP Example from our site and unpack it somewhere to your computer.
You need to connnect the builder to your web site. For that specify the path to the builder installation in the config.php file:
$GLOBALS['builder_path'] = "C:\\ONLYOFFICE\\DocumentBuilder\\docbuilder.exe";
Step 3. Install the prerequisites
You can use any web server capable of runnig PHP code to run the sample. We will demonstrate how to run the PHP sample using Internet Information Services (IIS) web server. To set up and configure PHP on IIS PHP Manager for IIS will be used.
Step 4. IIS configuration
After IIS manager configuration is complete everything is ready for running the PHP example.
Step 5. Running your web site with the editors
© Ascensio System SIA 2020. All rights reserved