Jump to content

system() exec() shell_exec() execute batch file problem on Win2003 IIS 6.0


Arthy

Recommended Posts

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.