note 57831 added to function.exec
| From: | clive at pluton dot co dot uk | Date: | Sat, 15 Oct 2005 10:35:05 +0000 |
| Subject: | note 57831 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97068@lists.php.net to get a copy of this message | ||
When trying to run an external command-line application in Windows 2000, I found that it was
behaving differently from when I manually ran it from a DOS prompt.
Turned out to be an issue with the process protection. Actually, it wasn't the application
itself that was having the problem but one it ran below it! To fix it, open computer management,
right-click on Default Web Site, select the Home Directory tab and change Application Protection to
'Low (IIS Process)'.
Note, this is a rather dangerous thing to do, but in cases where it's the only option...
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57831
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57831&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57831&report=yes
Search -- http://master.php.net/manage/user-notes.php