Bug #13301 Updated: no new process when using JVM

From: Date: Sun, 24 Feb 2002 11:13:29 +0000
Subject: Bug #13301 Updated: no new process when using JVM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-917@lists.php.net to get a copy of this message
ID: 13301 Updated by: yohgaki@php.net Reported By: lgv@altern.org -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] lgv@altern.org 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

« previous php.bugs (#917) next »