Shell commands on Windows not working
| From: | Tim Owens | Date: | Mon, 18 Oct 2004 03:56:19 +0000 |
| Subject: | Shell commands on Windows not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199694@lists.php.net to get a copy of this message | ||
We have a client using a Windows system:
PHP 4.3.4
Windows NT WEBSERVER 5.2 build 3790
I'm attempting to use exec() to run a system command. I don't seem to be
able to call any command, or at least I don't see any output.
Indeed, the following produces nothing:
echo
dir; //i.e. backticks
It works happily on my laptop. They have safe mode off. The PHP manual
talks about shell_exec needing to be enabled, but doesn't give any clue
how.
Any clues?
Tim Owens
Dataview Design Ltd
- innovative & quality web automation -