W2003-IIS6 ignore safe_mode=0
| From: | Joaquín | Date: | Fri, 23 Nov 2007 09:58:16 +0000 |
| Subject: | W2003-IIS6 ignore safe_mode=0 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28601@lists.php.net to get a copy of this message | ||
Hello.
I try to execute a batch file by using a php with the fuction system() but I am unable although safe_mode=0.
I am using a very simple example.bat that only makes echo hello and an example.php that should call that batch, but system() allways returns -1.
These things have been checked.
-Users IUSR_xxx, IWAM_xxx and group IIS_WPG have privileges (read and execute) on the directory.
-The example.php works in comand line >php example.php
-phpifo(); says me that safe_mode is off for sure.
Have you any idea?
Version of PHP is 4.4.2.
Thanks for your help.