php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13301 no new process when using JVM
Submitted: 2001-09-14 08:00 UTC Modified: 2002-04-09 00:00 UTC
From: lgv at altern dot org Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lgv at altern dot org
New email:
PHP Version: OS:

 

 [2001-09-14 08:00 UTC] lgv at altern dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:13 UTC] yohgaki@php.net
Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.
 [2002-04-09 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 18:01:28 2025 UTC