ID: 26725
User updated by: hsutanto78 at hotmail dot com
Reported By: hsutanto78 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: WinXP Japanese
PHP Version: 4.3.3
New Comment:
I just found the answer, should change the permission for the web user
IUSR_<Your Name> to execute cmd.exe ^_^
Hope next time PHP team could be kindly give some additional comments
concerning IIS Web Server.
Previous Comments:
------------------------------------------------------------------------
[2003-12-27 02:02:20] hsutanto78 at hotmail dot com
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 this bug report at http://bugs.php.net/?id=26725&edit=1