chroot Change the root directory &reftitle.description; boolchroot stringdirectory Changes the root directory of the current process to directory. &return.success; This function is only available if your system supports it and you're using the CLI, CGI or Embed SAPI. chroot requires root privileges. ¬e.no-windows;