chroot

PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8
chroot - Change the root directory
Manual
Code Examples

Example #1 chroot example

Result: /
PHP Version:


Function chroot:

Directories Functions

Most used PHP functions