chroot

Syntax

bool chroot ( string $directory )

Popis

Príkaz jazyka PHP
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.

Returns TRUE on success or FALSE on failure.

Note: This function is not implemented on Windows platforms.

Pozri aj

chdir