note 76336 added to function.exec
| From: | WindowsPHPUser at osu1 dot php dot net | Date: | Wed, 11 Jul 2007 06:42:39 +0000 |
| Subject: | note 76336 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128373@lists.php.net to get a copy of this message | ||
I had trouble getting the program execution functions to work on a Windows server, even though it
worked on my test machine. Here is something that helped:
First, set the security permissions on the exe to allow USR_MachineName to execute the program.
Then I changed the 'Log on as Batch Job' local security policy to include the IUSR account
(and rebooted). After I made that change, the programs were allowed to run.
I also limited the permissions for the IUSR account to read and execute only.
----
Server IP: 64.71.164.2
Probable Submitter: 66.173.175.140
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/76336
Del: integrated -- https://master.php.net/note/delete/76336/integrated
Del: useless -- https://master.php.net/note/delete/76336/useless
Del: bad code -- https://master.php.net/note/delete/76336/bad+code
Del: spam -- https://master.php.net/note/delete/76336/spam
Del: non-english -- https://master.php.net/note/delete/76336/non-english
Del: in docs -- https://master.php.net/note/delete/76336/in+docs
Del: other reasons-- https://master.php.net/note/delete/76336
Reject -- https://master.php.net/note/reject/76336
Search -- https://master.php.net/manage/user-notes.php