#22946 [Opn->Fbk]: exec() or system() or passthru() hang when using openssh 3.4
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)