PHP chroot April 26, 2012 Pramod T P It can be used to change the root directory Example <?php chroot(“YOUR-CHROOT-PATH”); echo getcwd(); ?> Output /