Hi,
In this blog I am going to explain you how to run php on tomcat server. For running php scripts you have to install php on your machine.
First you have to download PHP/JAVA Bridge templetate war file form the below link:
http://php-java-bridge.sourceforge.net/pjb/webapp.php
Then deploy the war file into tomcat webapps folder and start the server.
It will create a directory in webapps named as the war file name. Then you can put your php scripts or php project into that directory and restart the tomcat server.
Please note that the mod_rewrite(apache module) should not work in this case and .htaccess file is not usable.
Hope it helps!!
Thanks
Shakil
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Shakil Pathan
Shakil is an experienced Groovy and Grails developer . He has also worked extensively on developing STB applications using NetGem .