ID: 13301
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Java related
Operating System: Linux
PHP Version: 4.0.5
New Comment:
Please test with PHP 4.1.1+JDK 1.2 and report the result back
Please do not forget updating PHP version. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2001-09-14 08:00:46] [EMAIL PROTECTED]
I have jdk-1.2.2-FCS, with php-4.0.5, on a Linux system
i have configure with --with-java --enable-sockets --with-mysql
java work perfectly (i have just to load manually the module)
when i have loaded libphp_java.so, i can use popen(),
exec(), passthru(), etc.
But when i have used a java object (when the JVM is
launched) i cannot use them.
ex :
$str = new Java("java.lang.String");
works
$fp = popen("ls","r");
while ($s=fgets($fp,1024)) {
echo $s;
}
works
but both, they do not work
there is 4 process, one is waiting for io (D), another
became a zombie(Z), another is killed and the last one is
sleeping (S).
I have tried to use this by java :
java.lang.Runtime.getRuntime().exec()
but it makes the same bug
but i will use a server with socket connection. Im sure it
will works.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13301&edit=1