php with java support

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
linuxuser
Forum Newbie
Posts: 3
Joined: Sat Jun 10, 2006 8:52 am

php with java support

Post by linuxuser »

I am intergrating php for java support.
Fedora Core 3
php 4.3.9
http 2.0.52-3
java j2sdk1.4.2_12

compiled without errors.

php.ini file has the following entry

[Java]
java.class.path = /usr/lib/php4/php_java.jar
java.home = /usr/local/j2sdk1.4.2_12
java.library = /usr/local/j2sdk1.4.2_12/jre/lib/i386/libjava.so
java.library.path = /usr/lib/php4
extension_dir = /usr/lib/php4
extension = java.so

But phpinfo() does not show the java support in the browser?

Pls help.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I believe the extension_dir = /usr/lib/php4 and extension = java.so lines need to come before the [Java] block. there is a section for loading extensions.
(#10850)
linuxuser
Forum Newbie
Posts: 3
Joined: Sat Jun 10, 2006 8:52 am

Post by linuxuser »

Thanks for ur reply, but did not work. any other idea?

Can you post few links which would help more?
Post Reply