<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.dir.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.chroot.php',
    1 => 'chroot',
    2 => 'Cambia la direcory di root',
  ),
  'up' => 
  array (
    0 => 'ref.dir.php',
    1 => 'Directory Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.chdir.php',
    1 => 'chdir',
  ),
  'next' => 
  array (
    0 => 'function.closedir.php',
    1 => 'closedir',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/dir/functions/chroot.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.chroot" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">chroot</h1>
    <p class="verinfo">(PHP 4 &gt;= 4.0.5, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">chroot</span> &mdash; <span class="dc-title">Cambia la direcory di root</span></p>

   </div>
   <div class="refsect1 unknown-514" id="refsect1-function.chroot-unknown-514">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>chroot</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$directory</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

    <p class="para rdfs-comment">
     Cambia la directory di root del processo in esecuzione in 
     <code class="parameter">directory</code>. Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
    </p>    
    <p class="para">
      Questa funzione è disponibile soltanto se il sistema la supporta e
      se si sta utilizzando il PHP come CLI, CGI o Embed SAPI.      
    </p>
    <blockquote class="note"><p><strong class="note">Nota</strong>: <span class="simpara"><span class="function"><strong>chroot()</strong></span> richiede i privilegi di root.</span></p></blockquote>
    <blockquote class="note"><p><strong class="note">Nota</strong>: <span class="simpara">Questa funzione non è
implementata sulle piattaforme Windows.</span></p></blockquote>
   </div>

  </div><?php manual_footer($setup); ?>