php-windows Digest 23 Nov 2007 09:52:51 -0000 Issue 3371

Topics (messages 28601 through 28601):

W2003-IIS6 ignore safe_mode=0
        28601 by: JoaquĆ­n

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin 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.

--- End Message ---

Reply via email to