PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<chdirdir>
Last updated: Mon, 16 Jul 2012

chroot

(PHP 4 >= 4.0.5, PHP 5)

chroot -- 改变根目录

说明

bool chroot ( string directory )

将当前进程的根目录改变为 directory。如果成功则返回 TRUE,失败则返回 FALSE

本函数仅在你的系统支持且运行于 CLI,CGI 或嵌入 SAPI 版本时才能正确工作。

注: 本函数不适用于 Windows 平台。




<chdirdir>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST