From: brian at centurionservice dot com Operating system: Windows XP Pro PHP version: 4.3.3 PHP Bug Type: CGI related Bug description: Running the php cli more than once causes it to hang.
Description: ------------ I am not running a webserver, this is for command line scripting only. Running the PHP CLI binary more than once on the same command line causes it to hang. For example, running "C:\php\cli>php -v" twice in a row causes the executable to hang. Also, running "C:\php\cli>php testfile.php" twice also causes it to hang. Sourcecode of the test file was simple <? echo "test\n"; ?>. Running "php -h" multiple times in a row will not cause the problem. I have tested this using the CGI binary as well and received the same results. Same results were achieved with 4.3.4RC1 as well. Reproduce code: --------------- not applicable Expected result: ---------------- return to command line Actual result: -------------- program hangs. -- Edit bug report at http://bugs.php.net/?id=25797&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25797&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25797&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25797&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25797&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25797&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25797&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25797&r=support Expected behavior: http://bugs.php.net/fix.php?id=25797&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25797&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25797&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25797&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25797&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25797&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25797&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25797&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25797&r=float