Arthy Posted January 20, 2010 Share Posted January 20, 2010 Hi all, I have a problem executing an executable or batchfile. The system I'm running is PHP 5.2.3 on Windows 2003 with IIS 6.0 and FastCGI I'm trying to run a file called input.exe with several parameters, the command would look like this: input.exe -f input.ini -v system="Basic Configuration" number=1 account="Mister Johnson" If I try to execute this line via system() it just won't work. If I put this command in a batch file and try to run the batch, it won't work either. If I as a test try to execute ping.exe [host] it works. And I get an output printed on my screen. If I look at all processes run, via procmon.exe, I don't see any access denied or anything. Does anyone have an idea what is wrong in the configuration? I'm working on this now for 5 days, and still no succes. Thx anyway! Link to comment https://forums.phpfreaks.com/topic/189186-system-exec-shell_exec-execute-batch-file-problem-on-win2003-iis-60/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.