ID:               16542
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         IIS related
 Operating System: windows XP
 PHP Version:      4.1.2
 New Comment:

YOu're messing with backslashes and slashes. Try setting the
safe_mode_exec_dir to something like c:/inetpub/cgi-bin
Does it work now?


Previous Comments:
------------------------------------------------------------------------

[2002-04-11 04:17:29] [EMAIL PROTECTED]

ISAPI mode.  IIS 5.1 

safe_mode_exec_dir = C:\\Inetpub\cgi-bin\

<?php
exec("myprog.exe");
?>

Calls to exec system with {safe mode = On} result in an extra "/"
being
prepended to the executable file's name:

Warning: Unable to fork [C:\\\\Inetpub\cgi-bin\\/myprog.exe] in
c:\inetpub\wwwroot\index.php4


(the fork error results from other issues, but notice the /myprog.exe)

------------------------------------------------------------------------

[2002-04-11 04:08:15] [EMAIL PROTECTED]

ISAPI mode.  IIS 5.1 

safe_mode_exec_dir = C:\\Inetpub\cgi-bin\

Calls to exec system with {safe mode = On} result in an extra "/" being
prepended to the executable file's name:

Warning: Unable to fork [C:\\\\Inetpub\cgi-bin\\/myprog.exe] in
c:\inetpub\wwwroot\index.php4

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16542&edit=1

Reply via email to