scsi
01-08-2003, 09:00 AM
Hi all,
I've an old problem about having php working in conjunction with java.
On my raq4 is now running php 4.3 and have been installed jdk1.3.1_06
This is section of my php.ini
[Java]
java.library=/home/java/jdk1.3.1_06/jre/lib/i386/server/libjvm.so
java.class.path=/usr/lib/php/php_java.jar
java.home=/home/java/jdk1.3.1_06
java.library.path=/usr/lib/php/extensions/no-debug-non-zts-20020429
#java.library.path = /usr/local/php-4.3.0/lib/php/20020429-zts
extension=java.so
When i try to execute javatest.php the browser start to search and remain freezed without loading the script.
Content of javatest.php is:
<?php
$system_inst = new java('java.lang.System');
// Test PHP's ability to get a property from a Java class
echo "The version of Java running is" . $system_inst->getProperty("java.version") ;
?>
Please help me to have it working fine!!!!! Any suggestion, tutorial or other will be greatly appreciate.
I'm also ready to pay for a professional installation
I've an old problem about having php working in conjunction with java.
On my raq4 is now running php 4.3 and have been installed jdk1.3.1_06
This is section of my php.ini
[Java]
java.library=/home/java/jdk1.3.1_06/jre/lib/i386/server/libjvm.so
java.class.path=/usr/lib/php/php_java.jar
java.home=/home/java/jdk1.3.1_06
java.library.path=/usr/lib/php/extensions/no-debug-non-zts-20020429
#java.library.path = /usr/local/php-4.3.0/lib/php/20020429-zts
extension=java.so
When i try to execute javatest.php the browser start to search and remain freezed without loading the script.
Content of javatest.php is:
<?php
$system_inst = new java('java.lang.System');
// Test PHP's ability to get a property from a Java class
echo "The version of Java running is" . $system_inst->getProperty("java.version") ;
?>
Please help me to have it working fine!!!!! Any suggestion, tutorial or other will be greatly appreciate.
I'm also ready to pay for a professional installation
