php manual中有
"Unable to fork..." errors when executing "shell_exec" or "system" functions.After numerous hours of testing, I realized that this error is a result of insufficient file permissions. You will need to locate c:\Windows\system32\cmd.exe and set the permission to at least Read & Executable for Internet Guest user accounts.
主要讲:
1 locate c:\Windows\system32\cmd.exe
2 set the permission for Guest user accounts
试一试:
exec( 'c:\\Windows\\system32\\cmd.exe echo '.$num." > ".$counterFile);
"Unable to fork..." errors when executing "shell_exec" or "system" functions.After numerous hours of testing, I realized that this error is a result of insufficient file permissions. You will need to locate c:\Windows\system32\cmd.exe and set the permission to at least Read & Executable for Internet Guest user accounts.
主要讲:
1 locate c:\Windows\system32\cmd.exe
2 set the permission for Guest user accounts
试一试:
exec( 'c:\\Windows\\system32\\cmd.exe echo '.$num." > ".$counterFile);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货