note 57831 modified in function.exec by aidan

From: Date: Sat, 15 Oct 2005 12:19:56 +0000
Subject: note 57831 modified in function.exec by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97069@lists.php.net to get a copy of this message
When trying to run an external command-line application in Windows 2000 (Using IIS), 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... --was-- 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... http://php.net/manual/en/function.exec.php

« previous php.notes (#97069) next »