mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
bb0af361c5
commit
8be41f8e90
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue