I'm running a php script through the webserver to execute
psexec which in turns executes another php script.
When I run this from the command line normally, everything works fine and there are no problems.
However, when I run it from the webserver, I get this:
PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals - www.sysinternals.com php exited with error code 1.
So from this I can obviously tell that psexec is running properly, but for some reason the php script is exiting. Like I said, though, if I run it manually from the command line, it works perfectly.
I tried to do a bit of looking around, but I can't figure it out. Does anyone know?
I'm running Apache2 (XAMPP) on Windows 2008