PHP + JAVA Extension problem
- From: ameyshirali@xxxxxxxxx
- Date: 15 Sep 2005 07:22:49 -0700
hi,
I am facing this weird java extension problem ....
When I try to run any script with java code in it throws a page DNS
server error.
<?php
$system = new Java("java.util.System"); // here's the error
print "Java version: " . $system->getProperty("java.version")
.. "<br>\n";
?>
My php.ini Java section looks like this
java.class.path =
/usr/local/lib/php/php_java.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/sfa.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/servlet.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jnet.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jcert.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jsse.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/cryptix32.jar
java.home = /usr/java/j2sdk1.4.2_08
java.library = /usr/java/j2sdk1.4.2_08/jre/lib/i386/server/libjvm.so
java.library.path =
/usr/java/j2sdk1.4.2_08/jre/lib:/usr/local/lib/php:/usr/local/lib/php/extensions/no-debug-non-zts-20020429
Platform Details
PHP 4.2.2
Apache 2.0.40
Could any one lead me int oa solution ... this one seems to be a
toughie?
Theris no error thrown on the browser too.
regards
Amey
.
- Prev by Date: Re: PHP will not allow me to create new files that are unlocked?!
- Next by Date: PHP5 on OSX 10.2 (Jaguar)
- Previous by thread: Re: KARAOKE SINGERS WANTED - the world is listening!
- Next by thread: PHP5 on OSX 10.2 (Jaguar)
- Index(es):
Relevant Pages
|