open_basedir is PHP_INI_ALL as of 5.3.0, but only for tightening the

path


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270866 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2008-12-09 11:48:40 +00:00
parent 8bc2a44699
commit eddced2a8b
2 changed files with 13 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.78 $ -->
<!-- $Revision: 1.79 $ -->
<appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>&php.ini; directives</title>
@ -2187,7 +2187,7 @@
<entry><link linkend="ini.open-basedir">open_basedir</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>PHP_INI_SYSTEM in PHP &lt; 6.</entry>
<entry>PHP_INI_SYSTEM in PHP &lt; 5.2.3.</entry>
</row>
<row>
<entry>oracle.allow_persistent</entry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.79 $ -->
<!-- $Revision: 1.80 $ -->
<chapter xml:id="features.safe-mode" xmlns="http://docbook.org/ns/docbook">
<title>Safe Mode</title>
@ -71,7 +71,7 @@
<entry>open_basedir</entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>PHP_INI_SYSTEM in PHP &lt; 6.</entry>
<entry>PHP_INI_SYSTEM in PHP &lt; 5.3.0</entry>
</row>
<row>
<entry>disable_functions</entry>
@ -259,6 +259,15 @@
<para>
The default is to allow all files to be opened.
</para>
<note>
<para>
As of PHP 5.3.0 open_basedir can be tightened at run-time. This means
that if open_basedir is set to <literal>/www/</literal> in &php.ini;
a script can tighten the configuration to
<literal>/www/tmp/</literal> at run-time with
<function>ini_set</function>
</para>
</note>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.disable-functions">