vrana Tue Sep 14 07:42:56 2004 EDT
Modified files:
/phpdoc/en/features safe-mode.xml
Log:
How to turn off open_basedir (bug #29856)
http://cvs.php.net/diff.php/phpdoc/en/features/safe-mode.xml?r1=1.55&r2=1.56&ty=u
Index: phpdoc/en/features/safe-mode.xml
diff -u phpdoc/en/features/safe-mode.xml:1.55 phpdoc/en/features/safe-mode.xml:1.56
--- phpdoc/en/features/safe-mode.xml:1.55 Tue Aug 10 09:01:07 2004
+++ phpdoc/en/features/safe-mode.xml Tue Sep 14 07:42:55 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.55 $ -->
+<!-- $Revision: 1.56 $ -->
<chapter id="features.safe-mode">
<title>Safe Mode</title>
@@ -210,6 +210,13 @@
indicates that the working directory of the script will be used as the
base-directory. This is, however, a little dangerous as the working directory
of the script can easily be changed with <function>chdir</function>.
+ </para>
+ <para>
+ In <filename>httpd.conf</filename>, open_basedir can be turned off
+ (e.g. for some virtual hosts)
+ <link linkend="configuration.changes.apache">the same way</link> as
+ any other configuration directive with "php_admin_value open_basedir
+ none".
</para>
<para>
Under Windows, separate the directories with a semicolon. On all