ID: 30539 Updated by: [EMAIL PROTECTED] Reported By: toppi at kacke dot de -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Fedora Core 2 Linux PHP Version: 5.0.2 New Comment:
This is not PHP bug as shown by the FAQ entry lobbin posted. Previous Comments: ------------------------------------------------------------------------ [2004-10-27 22:50:04] toppi at kacke dot de 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 ------------------------------------------------------------------------ [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 but....didnt 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. ------------------------------------------------------------------------ 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=30539&edit=1