I am getting this error/warning PHP exec(): unable to fork ["command I plan on running"] when attempting to run the exec() within a PHP script. It is running on an IIS server. I have attempted the following:
- Changing Authentication settings on IIS server for web site
- giving read/write access to relevant users on cmd.exe
- Scanned the php.ini file for any disables for exec() function
I am running out of clues as to why this error is occurring. versions of the same script are working well on other VMs.