note 86444 added to function.exec
| From: | ben at osu1 dot php dot net | Date: | Sun, 19 Oct 2008 13:04:19 +0000 |
| Subject: | note 86444 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145488@lists.php.net to get a copy of this message | ||
If you're having problems with any of the exec(), system() etc. functions not working properly
on windows, finding the cause can be very frustrating, as is hard to diagnose.
I've found the free Process Monitor from Sysinternals (procmon.exe from live.sysinternals.com)
to be VERY helpful here. You can monitor anything done by e.g. php.exe, cmd.exe and yourprogram.exe
and it will list every access to files, registry etc. with return codes. You usually find some
ACCESS DENIED somehwer in the log, correct the file's permissions and it works.
Has saved me a LOT of time.
----
Server IP: 217.160.72.57
Probable Submitter: 213.39.160.49
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/86444
Del: integrated -- https://master.php.net/note/delete/86444/integrated
Del: useless -- https://master.php.net/note/delete/86444/useless
Del: bad code -- https://master.php.net/note/delete/86444/bad+code
Del: spam -- https://master.php.net/note/delete/86444/spam
Del: non-english -- https://master.php.net/note/delete/86444/non-english
Del: in docs -- https://master.php.net/note/delete/86444/in+docs
Del: other reasons-- https://master.php.net/note/delete/86444
Reject -- https://master.php.net/note/reject/86444
Search -- https://master.php.net/manage/user-notes.php