From 911cf599c1617f137070d6a9a8ea6185070f867c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 10 Feb 2011 15:58:04 +0000 Subject: [PATCH] open_basedir is not prefix anymore (doc bug #53597) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308212 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/ini.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appendices/ini.xml b/appendices/ini.xml index b1a877094f..01df38fe9d 100644 --- a/appendices/ini.xml +++ b/appendices/ini.xml @@ -4893,9 +4893,10 @@ include_path=".;c:\php\includes" automatically inherited. - The restriction specified with is actually a - prefix, not a directory name. This means that "open_basedir - = /dir/incl" also allows access to "/dir/include" and + The restriction specified with is a + directory name since PHP 5.2.16 and 5.3.4. Previous versions used it + as a prefix. This means that "open_basedir + = /dir/incl" also allowed access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: open_basedir = /dir/incl/