#22946 [Opn->Fbk]: exec() or system() or passthru() hang when using openssh 3.4

From: Date: Wed, 09 Apr 2003 21:48:53 +0000
Subject: #22946 [Opn->Fbk]: exec() or system() or passthru() hang when using openssh 3.4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37481@lists.php.net to get a copy of this message
 ID:               22946
 Updated by:       sniper@php.net
 Reported By:      massimo at tuxel dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Program Execution
 Operating System: SuSE Linux 8.1
 PHP Version:      4.3.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


Previous Comments:
------------------------------------------------------------------------

[2003-03-28 18:27:02] massimo at tuxel dot com

Using ssh through the various exec functions usually hangs 
php execution. Very strange that: 
exec('/usr/bin/scp foo@bar.com:/what/ever/file .') 
works fine, while 
exec('/usr/bin/ssh foo@bar.com /what/ever/execfile'), 
where "execfile" is any executable file, makes the 
execution of the php script hang. 
 
Any help/reproduction/confirmation of this very 
appreciated. 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22946&edit=1



Thread (6 messages)

« previous php.bugs (#37481) next »