Hi,
I have installed java 1.5.x, Apche 2.0.x in my fedora 9.0 linux server. i want to use java code within php. please let me know if you know, how can in installed java with php in fedora 9.0 including java bridge.
Thanks
I dont know about this. But I found this article with google:
http://www.devshed.com/c/a/PHP/Using-PHP-with-Java/
Using PHP with Java - Getting Started ( Page 2 of 7 ) PHP doesn't come with Java support turned on by default, so you'll need to recompile it to enable this support. You can do this by adding the "--with-java" compile-time parameter to the PHP "configure" script. Note that you'll also need a copy of the latest JDK - you can get this from http://java.sun.com/ (the examples in this article use version 1.3.0 of the JDK). If you're using Windows, you've already got a pre-built Java extension with your PHP distribution - all you need to do is enable it.
Using PHP with Java - Getting Started ( Page 2 of 7 )
PHP doesn't come with Java support turned on by default, so you'll need to recompile it to enable this support. You can do this by adding the "--with-java" compile-time parameter to the PHP "configure" script. Note that you'll also need a copy of the latest JDK - you can get this from http://java.sun.com/ (the examples in this article use version 1.3.0 of the JDK).
If you're using Windows, you've already got a pre-built Java extension with your PHP distribution - all you need to do is enable it.