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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC