PHP function chroot()
Change the root directory
Availability in versions: PHP 4.0.5
Change the root directory
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$directory |
string |
not | The new directory |
Return values
bool
Returns true on success, otherwise false on failure.
Other resources
Loading comments...