InMotion Web Site Hosting
InMotion Hosting Home


chroot

(PHP 4 >= 4.0.5)

chroot -- Change the root directory

Description

bool chroot ( string directory)

Changes the root directory of the current process to directory. Returns TRUE on success or FALSE on failure..

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

Note: This function is not implemented on Windows platforms.


InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site

>