Originally Posted by Fou-Lu
Sounds like an ownership issue.
One thing to test, is on the command line launch the PHP directly by executing
php -f /path/to/your/php/script.php, and seeing what that does. That should use your user credentials to execute the php script which in turn should use the same credentials when launching the shell_exec.
Try that and let us know how it turns out.
I like the bat idea as well, simple and central.
I put in a
and it says the script is running under:
I did some research (http://forums.iis.net/t/1147103.aspx
) on that and it appears that "nt authority/iusr" replaced the anonymous IIS user in win 2008. Also, the permissions for it aren't configured the same way as a normal user.
I don't know what to do next. Any help will be greatly appreciated!