php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64114 open_basedir not implemented in Windows CGI
Submitted: 2013-01-31 13:40 UTC Modified: 2013-01-31 13:55 UTC
From: contact at imfast dot kr Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.3.21 OS: Windows Server 2008 RC2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: contact at imfast dot kr
New email:
PHP Version: OS:

 

 [2013-01-31 13:40 UTC] contact at imfast dot kr
Description:
------------
When I set open_basedir on nginx virtualhost in windows server, the open_basedir 
function set on every virtualhost is not properly working when php is running.

My code used in nginx is written below:
fastcgi_param PHP_VALUE "open_basedir=T:\hosting\main\";

please implement open_basedir in php-cgi for windows.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-31 13:53 UTC] contact at imfast dot kr
PHP_ADMIN_VALUE is not also working. tried several stuff which was on the 
internet, still didn't work. someone said he could not find anything about 
open_basedir function on php-cgi
 [2013-01-31 13:55 UTC] pajoye@php.net
-Status: Open +Status: Not a bug
 [2013-01-31 13:55 UTC] pajoye@php.net
It works perfectly fine, set it in your php.ini or pass it as argument to php-
cgi.exe.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC