From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.5
PHP Bug Type:     Java related
Bug description:  no new process when using JVM

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 bug report at: http://bugs.php.net/?id=13301&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to