Ok guys. I'm getting the infamous "Unable to fork" message on my box at work:
IIS 6.0, php 4.3.2, Windows Server 2003
the code? Doesn't really matter. I get unable to fork regardless of what I feed the exec() command.
I've read about giving access to the IUSR_machine account to cmd, but I can't find where to do this....(I found several IUSR accounts, and IWAM accounts, but not for the box....).
Here's a sampling of code that doesn't work:
no combination of quotes and/or slashes works.
moving notepad to ANY directory = still no help.
shell_exec()'s only give me "Unable to ..."
Any clues on this?
Thanks guys,
Celt
IIS 6.0, php 4.3.2, Windows Server 2003
the code? Doesn't really matter. I get unable to fork regardless of what I feed the exec() command.
I've read about giving access to the IUSR_machine account to cmd, but I can't find where to do this....(I found several IUSR accounts, and IWAM accounts, but not for the box....).
Here's a sampling of code that doesn't work:
PHP Code:
exec("C:\\windows\\notepad.exe");
exec("start /d C:\\windows /B notepad.exe");
exec("start /d C:\\windows\\ /B notepad.exe");
moving notepad to ANY directory = still no help.
shell_exec()'s only give me "Unable to ..."
Any clues on this?
Thanks guys,
Celt
Comment