ID: 30539
User updated by: toppi at kacke dot de
Reported By: toppi at kacke dot de
Status: Open
Bug Type: *General Issues
Operating System: Fedora Core 2 Linux
PHP Version: 5.0.2
New Comment:
I forgott...
a nohup ./testd.php also doesnt do it
seems theres no chance to fork a process when using sshd atm.
I would be very thankful about any workaround or any tip, behavior
Thank you guys
Toppi
Previous Comments:
[2004-10-27 21:15:30] toppi at kacke dot de
Thanks for the hint lobbin.
i tired the shopt -s huponexit
but Shell says its turned on butdidnt help out tho.
[2004-10-26 17:16:27] lobbin at localhost dot nu
I've seen this problem pretty often, it might be related to (open)ssh
and your shell.
More info here:
http://www.openssh.com/faq.html#3.10
[2004-10-24 13:50:41] toppi at kacke dot de
I tired the code by using cli now. Same problem even when i close
STDIN.
Also i tired it, by creating a shutdown_function()
register_shutdown_function(
create_function('','fclose(STDIN); fclose(STDOUT);
fclose(STDERR); return true;')
);
A test on another system, to make sure its not a os-config thingo,
gives the same result.
Run the code as root (to make sure, its no perm. thing) doesnt help
tho.
The child always post his outputstream ahead tru sshd (but no bash
alive).
When creating a socket around the child and you just close the
terminal-window to get disconnected from the master, the code chrashes
on connect.
[2004-10-24 06:53:45] [EMAIL PROTECTED]
Use CLI then? Personally I do not think that CGI version is the best
choice for daemons, as it wasn't designed for such purposes.
[2004-10-23 20:28:39] toppi at kacke dot de
Hi Tony,
it doenst work.
STDIN is not defined/open. When i understood the manual correctly, its
only defined when using cli sapi.
I have
php -v
PHP 5.0.2 (cgi) (built: Oct 23 2004 14:07:24)
I tired a lot of things, to kill the stream and getting
disconnected...but nothing helped yet.
When i remember me right, we didnt have that prob @ 4.3.x. but not sure
tho.
I have no clue anymore :)
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30539
--
Edit this bug report at http://bugs.php.net/?id=30539edit=1