#16542 [Com]: safe_mode_exec_dir and exec()

From: Date: Sat, 16 Nov 2002 04:16:11 +0000
Subject: #16542 [Com]: safe_mode_exec_dir and exec()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25033@lists.php.net to get a copy of this message
 ID:               16542
 Comment by:       justinNOSPAMclarke@xcelco.on.ca
 Reported By:      n.dose@leo-media.de
 Status:           Feedback
 Bug Type:         IIS related
 Operating System: windows XP
 PHP Version:      4.1.2
 New Comment:

My host is running safe mode, and so I need to figure out how to tell
them to give my directory access to exec()

I would rather not run safe_mode at all.


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

[2002-11-15 22:07:32] rasmus@php.net

Just curious, are you guys really running a shared server on Windows? 
Because safe_mode makes very little sense in a non-shared environment.

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

[2002-11-15 22:03:02] justinNOSPAMclarke@xcelco.on.ca

By the way, this is being used as a module for Apache.

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

[2002-11-15 22:02:29] justinNOSPAMclarke@xcelco.on.ca

I am running Win2K with PHP 4.2.1 and I am experiencing this same type
of problem. Hopefully I can provide a little more feedback.

safe_mode = On
safe_mode_exec_dir = "D:\web\test\"

Here's what I've got. I've tried with frontslashes no trailing slash,
you name it, I've tried it. No exec() or system(), etc. statement will
work from this directory (or any other directory for that matter while
safe_mode is on).

If I take off safe_mode, everything is fine (obviously).

I can provide more info if necessary. Please feel free to e-mail.

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

[2002-11-03 11:05:45] iliaa@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



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

[2002-05-13 06:36:03] sander@php.net

Reopening on user request: it doesn't work, even with forward slashes 

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16542

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



Thread (13 messages)

« previous php.bugs (#25033) next »