PHP needs to be configured with --enable-chroot-func and on my machine only root can use it (user users get "Operation not permitted (errno 1)")
![]() |
|
||||||||||
|
chrootОписаниеbool chroot ( string directory )
Изменяет корневой каталог текущего процесса на
переданный в качестве параметра Данная функция доступна только в том случае, если ее поддерживает ваша операционная система и вы используете методы вызова CLI, CGI или Embed SAPI.
chroot
php at schlueters dot de
09-Feb-2003 07:52
PHP needs to be configured with --enable-chroot-func and on my machine only root can use it (user users get "Operation not permitted (errno 1)")
|