<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Safe Mode</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="features.persistent-connections.html">Persistent Database Connections</a></div> <div class="next" style="text-align: right; float: right;"><a href="ini.sect.safe-mode.html">Security and Safe Mode</a></div> <div class="up"><a href="features.html">Features</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="features.safe-mode" class="chapter"> <h1>Safe Mode</h1> <h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="ini.sect.safe-mode.html">Security and Safe Mode</a></li><li><a href="features.safe-mode.functions.html">Functions restricted/disabled by safe mode</a></li></ul> <p class="para"> The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now. </p> <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This feature has been <em class="emphasis">DEPRECATED</em> as of PHP 5.3.0 and <em class="emphasis">REMOVED</em> as of PHP 5.4.0.</p></div> <p class="para"> <table class="doctable table"> <caption><strong>Changelog for <em>safe mode</em></strong></caption> <thead> <tr> <th>Version</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>5.4.0</td> <td> Removed from PHP, and generates a fatal <strong><code>E_CORE_ERROR</code></strong> level error when enabled. </td> </tr> <tr> <td>5.3.0</td> <td> Deprecated, and <strong><code>E_DEPRECATED</code></strong> errors were added. </td> </tr> </tbody> </table> </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="features.persistent-connections.html">Persistent Database Connections</a></div> <div class="next" style="text-align: right; float: right;"><a href="ini.sect.safe-mode.html">Security and Safe Mode</a></div> <div class="up"><a href="features.html">Features</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>