|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36940 Dynamic open_basedir restriction not possible.
Submitted: 2006-04-01 11:23 UTC Modified: 2011-02-21 21:30 UTC
Avg. Score:4.6 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: php dot net at bokehman dot com Assigned:
Status: Open Package: Apache2 related
PHP Version: 5.1.2 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php dot net at bokehman dot com
New email:
PHP Version: OS:


 [2006-04-01 11:23 UTC] php dot net at bokehman dot com
When using mod_vhost_alias it is not possible to set a dynamic open_basedir restriction. %0 is not being expanded.

php_admin_value open_basedir C:/apache2/htdocs/vhosts/%0/public_html

I've been told there is a fix on Linux by editing fopen-wrappers.c but this file does not exist on windows.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:30 UTC]
-Package: Feature/Change Request +Package: Apache2 related
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Aug 01 04:01:24 2021 UTC