|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-02-24 06:13 UTC] yohgaki@php.net
[2002-04-09 00:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
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.