PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 4 >= 4.0.5, PHP 5)
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.
The new directory
Returns TRUE on success or FALSE on failure.
Note: This function is not implemented on Windows platforms.