Can't get exec() to work
| From: | Bill Szerdy | Date: | Tue, 10 Jun 2003 21:16:28 +0000 |
| Subject: | Can't get exec() to work | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20265@lists.php.net to get a copy of this message | ||
I am running Windows 2000 sp3, IIS5.0, PHP v4.3.2
I can't get anything to execute from the exec() function calling from a
webpage but I can get it to work from command line.
I have granted permissions to cmd.exe, copied cmd.exe to my php directory as
well as made sure safe_mode was off.
When I call exec("calc.exe") from a webpage the page hangs indefinitly until
I kill the process.
Any help would be appreciated