note 86444 deleted from function.exec by cmb

From: Date: Sun, 24 Nov 2019 08:56:06 +0000
Subject: note 86444 deleted from function.exec by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213220@lists.php.net to get a copy of this message
Note Submitter: ben ---- 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.

« previous php.notes (#213220) next »