Getting PHP to work under IIS 6.0
| From: | Joseph Tate | Date: | Thu, 02 Oct 2003 22:18:30 +0000 |
| Subject: | Getting PHP to work under IIS 6.0 | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-164828@lists.php.net to get a copy of this message | ||
Has anyone been able to get PHP working fully under IIS 6.0? If so, try the following script:
<?PHP
print_r(shell_exec('dir'));
?>
I get "Warning: shell_exec() [function.shell-exec]: Unable to execute" whenever I try this or any other shell_exec or back tick (`) shell function.
I've tried running in IIS 5.0 isolation mode, and setting all kinds of execution permissions to no avail.
Joseph
P.S. Sorry for the cross post. Just want to get it in front of as many eyeballs as possible.