Here I explain how to deploy PHP/JavaBridge on your .
You may need basic knowledge of Linux command, PHP, Java, Tomcat.
Please use the link below to go to further reading if necessary.
2. Deploy war file
3. Change PHP configration
4. Restart Tomcat
5. Check JavaBridge
If you have any suggestion and question, especially technically and grammatically, please feel free to leave your comment.
Thank you for your visit😊
You may need basic knowledge of Linux command, PHP, Java, Tomcat.
Please use the link below to go to further reading if necessary.
I. How to install Java
II. How to install Tomcat
III. How to install PHP and CGI
IV. How to deploy PHP/JavaBridge
V. How to deploy your PHP and Java files
II. How to install Tomcat
III. How to install PHP and CGI
IV. How to deploy PHP/JavaBridge
V. How to deploy your PHP and Java files
IV. Deploy PHP/JavaBridge
1. Download JavaBridgeDownload JavaBridge.war from PHP/JavaBridge site.
2. Deploy war file
Move the war file to /usr/local/{your tomcat version folder}/webapps/
After few seconds, JavaBridge folder will be created.
After few seconds, JavaBridge folder will be created.
3. Change PHP configration
3.1. Go to PHP folder
Open Finder and go to directory showed on the test page.
3.2. Edit php.ini file
php.ini file and add following line.
Open Finder and go to directory showed on the test page.
3.2. Edit php.ini file
php.ini file and add following line.
allow_url_include = On
4. Restart Tomcat
If you have not set up Tomcat on your local machine, here is II. How to install Tomcat.
/Library/Tomcat/bin/startup.sh
/Library/Tomcat/bin/shutdown.sh
/Library/Tomcat/bin/shutdown.sh
5. Check JavaBridge
Go to http://localhost:8080/JavaBridge
If you were able to see the page as below, you are good to go to deploy your source.

If you were able to see the page as below, you are good to go to deploy your source.

If you have any suggestion and question, especially technically and grammatically, please feel free to leave your comment.
Thank you for your visit😊
Comments