PHP ��U
前一頁 |  | 下一頁

# chroot

(PHP 4 >= 4.0.5, PHP 5)

chroot -- Change the root directory

## Description

bool chroot ( string directory )

Changes the root directory of the current process to directory.

This function is only available if your system supports it and you're using the CLI, CGI or Embed SAPI. Also, this function requires root privileges.

## Parameters

directory

  The new directory

## Return Values

�\�^��`TRUE`�Ѧ^��`FALSE`�C

## Notes

> 注: ��Ƥ�A�Ω� Windows �x�C

前一頁 | 內容 | 下一頁
chdir | 上一層 | dir