Document the fact that disable_functions can only be used in the php.ini

file.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@71978 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf 2002-03-05 13:37:23 +00:00
parent bb0af361c5
commit 8be41f8e90

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.18 $ -->
<!-- $Revision: 1.19 $ -->
<chapter id="features.safe-mode">
<title>Safe Mode</title>
@ -72,8 +72,11 @@ Warning: open_basedir restriction in effect. File is in wrong directory in
</screen>
</para>
<para>
You can also disable individual functions. If we add this to our php.ini
file:
You can also disable individual functions. Note that the disable_functions
directive can not be used outside of the php.ini file which means that
you cannot disable functions on a per-virtualhost or per-directory basis
in your httpd.conf file.
If we add this to our php.ini file:
<programlisting role="ini">
<![CDATA[
disable_functions readfile,system