Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Download required libraries mentioned below. These are the required for executing Aspose.Words Java for PHP examples.
Following releases of running examples are available to download on below mentioned social coding sites:
Please follow these simple steps in order to open and extend the source code while using:
To install tomcat server, issue following command on the linux console. This will successfully install tomcat server.
sudo apt-get install tomcat8
Install and configure the PHP/Java Bridge to make use of Java from PHP. See more details about installing and configuring the PHP.
Also, you can download PHP/Java Bridge that doesn’t require a java extension. Learn the installation instruction for installing PHP/ Java Bridge.
Download the latest version of Aspose.Words for Java. Extract files and copy the lib folder with jar files to the root folder of your project.
In order to download the PHP/JavaBridge binaries, issue following command on the linux console.
wget https://osdn.net/projects/sfnet_php-java-bridge/downloads/Binary%20package/php-java-bridge_6.2.1/php-java-bridge_6.2.1_documentation.zip/
Unzip the PHP/JavaBridge binaries by issuing the following command on linux console.
unzip -d php-java-bridge_6.2.1_documentation.zip
This will extract JavaBridge.war file. Copy it to tomcat88 webapps folder by issuing the following command on Linux console.
sudo cp JavaBridge.war /var/lib/tomcat8/webapps/JavaBridge.war
By copying, tomcat8 will automatically create a new folder “JavaBridge” in webapps. Once the folder is created, make sure your tomcat8 is running and then check localhost:8080/JavaBridge
in browser, it should open a default page of JavaBridge.
If any error message appears then install FastCGI by issuing the following command on Linux console.
sudo apt-get install php55-cgi
After installing php5.5 cgi, restart tomcat8 server and check localhost:8080/JavaBridge
again in the browser.
If JAVA_HOME error is displayed, then open /etc/default/tomcat8 file and uncomment the line that sets the JAVA_HOME. Check localhost:8080/JavaBridge
in browser again, it should come with PHP/JavaBridge Examples page.
Clone, PHP examples by issuing the following commands inside webapps/JavaBridge folder.
$ git init
$ git clone [https://github.com/aspose-words/Aspose.Words-for-Java/tree/master/Plugins/Aspose_Words_Java_for_PHP]
Please follow below simple steps to configure PHP/Java Bridge on Windows Platform:
localhost:8080/JavaBridge/test.php
to check if php works.Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.