#26725 [NEW]: Can't execute shell command inside PHP

From: Date: Sat, 27 Dec 2003 07:02:20 +0000
Subject: #26725 [NEW]: Can't execute shell command inside PHP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52515@lists.php.net to get a copy of this message
From: hsutanto78 at hotmail dot com Operating system: WinXP Japanese PHP version: 4.3.3 PHP Bug Type: IIS related Bug description: Can't execute shell command inside PHP Description: ------------ can't execute shell command inside PHP (return unable to fork message) Reproduce code: --------------- <?php echo system("C:\\WINDOWS\\system32\\cmd.exe"); ?> Expected result: ---------------- Display WIndows Version Actual result: -------------- Warning: system(): Unable to fork [C:\WINDOWS\system32\cmd.exe] in C:\Inetpub\wwwroot\ping.php on line 3 -- Edit bug report at http://bugs.php.net/?id=26725&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26725&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26725&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26725&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26725&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26725&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26725&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26725&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26725&r=support Expected behavior: http://bugs.php.net/fix.php?id=26725&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26725&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26725&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26725&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26725&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26725&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26725&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26725&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26725&r=float

« previous php.bugs (#52515) next »