#21250 [NEW]: echo output is blocked when using system(), exec(), backticks, etc.
| From: | adam at ripcord dot net | Date: | Sat, 28 Dec 2002 17:19:46 +0000 |
| Subject: | #21250 [NEW]: echo output is blocked when using system(), exec(), backticks, etc. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28602@lists.php.net to get a copy of this message | ||
From: adam@ripcord.net
Operating system: OpenBSD 3.0
PHP version: 4.3.0
PHP Bug Type: Output Control
Bug description: echo output is blocked when using system(), exec(), backticks, etc.
A script that I have which automates the building of Apache + PHP + ModSSL
is showing strange behavior with PHP 4.3.0.
This script works fine with 4.2.x (CGI), but as soon as I upgraded to
4.3.0 (CLI), all output from echo is blocked until the commands that I run
through my many calls to system() are complete. The new CLI docs say that
implicit flush is on by default with the CLI, but when using system(),
exec(), or backticks this doesn't seem to be the case.
My apologies if this is mere user stupidity.
--
Edit bug report at http://bugs.php.net/?id=21250&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21250&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21250&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21250&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21250&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21250&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21250&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21250&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21250&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21250&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21250&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21250&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21250&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21250&r=isapi