note 49383 added to ref.exec
| From: | Shaun at osu1 dot php dot net | Date: | Wed, 26 Jan 2005 09:53:20 +0000 |
| Subject: | note 49383 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84012@lists.php.net to get a copy of this message | ||
Trying to use 'exec' to run a helper executable on Win2K3 (and I'm told this also
happens on Win2K) from a PHP script running on IIS, failed to invoke the executable.
Running the same PHP script on Win2K using Apache to serve the page calling the same helper
executable worked.
Solution: On Win2K3 (and probably Win2K), give the IIS IUSR_xxxxx guest user Read & Execute
permissions to Cmd.exe found in the System32 folder under Windows root directory.
This one had me confused longer than it should have! Hope this saves others from the same fate!
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49383
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49383&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49383&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49383&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49383&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49383&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49383&report=yes
Search -- http://master.php.net/manage/user-notes.php