|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-06-10 07:01 UTC] abramov at fromru dot com
Web-server: IIS 5
Both CGI and ISAPI installations produced following bug:
Code:
<?
print system('cmd ver');
?>
Result:
system(): Unable to fork
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 14:00:01 2025 UTC |
Hi, <? print system('%COMSPEC% /c ver'); ?> should work on Windows systems anywhere. Please could you try that and confirm if it's still giving the same error message? PHP Folks: if it does, we could have the return of an ancient popen/exec issue .. but it's working fine on win9x.. ?I am getting the same error using <? print system('%COMSPEC% /c ver'); ?> "Warning: system(): Unable to fork [%COMSPEC% /c ver] in"... PHP Version 4.3.2 System Windows NT QUARTZ 5.2 build 3790 Build Date May 28 2003 15:06:05 Server API CGI/FastCGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS\php.ini this is with a hosting company. Is there another solution to running a program (imagemagick)?