I am running PHP on a windows 2000 server with IIS 5.0. I am trying to execute a perl script from PHP with no luck. I'm calling the perl as follows.
passthru("perl c:\inetpub\wwwroot\cgi-bin\restart.pl c:\inetpub\wwwroot\cgi-bin\output.txt ", $int);
echo $int;
This works fine from the command line but does nothing when I try to execute from PHP.
Any help is appreciated.