Installing and Programming with PHP and Java

As a web developer PHP has always been top of my list when it comes to programming but just recently with my studies Java has been my main language and as I have come to love Java I looked into ways of using both PHP and Java together.

While searching the internet I found a few different solutions to this, you are able to recompile PHP with java support on both windows and Linux but the easiest solution I found for the windows operating system was Java Bridge, combined with WAMP (Windows Apache MySql and PHP) I was already to go in a matter of minutes.

Comments

Hi,

I started to write all backed end classes using java, when i configured all the javabridge & php_java.dll files into the respective directories and changed the php.ini configurations too. After completion of all the configuration i restarted my wamp server suddenly one popup comes with an warning message like "PHP Startup : Invalid library (maybe not a PHP library) 'php_java.dll". I tried to find the "java-x86-windows.dll" file in the javabridge.war file but i could not found that. If you have that file please send it to my email id.

Thanks

Permalink

hi,
I do not understand points :
run JavaBridge.jar
Select SERVLET_LOCAL:8080

I have wamp and tomcat running. unable to understand where to put "JavaBridge.jar" and run it?

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.