Home
last modified time | relevance | path

Searched refs:chroot (Results 1 – 18 of 18) sorted by relevance

/PHP-5.6/ext/standard/tests/file/
H A Dchroot_001.phpt2 chroot()
10 if (!function_exists("chroot")) {
11 die("skip chroot() not available");
18 var_dump(chroot("chroot_001_x"));
/PHP-5.6/ext/standard/
H A Dphp_dir.h31 PHP_FUNCTION(chroot);
H A Ddir.c292 PHP_FUNCTION(chroot) in PHP_FUNCTION() argument
301 ret = chroot(str); in PHP_FUNCTION()
H A Dconfig.m4394 AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
H A Dbasic_functions.c3176 PHP_FE(chroot, arginfo_chroot)
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_unix.c311 if (wp->config->chroot && *wp->config->chroot) { in fpm_unix_conf_wp()
354 if (is_root && wp->config->chroot && *wp->config->chroot) { in fpm_unix_init_child()
355 if (0 > chroot(wp->config->chroot)) { in fpm_unix_init_child()
356 zlog(ZLOG_SYSERROR, "[pool %s] failed to chroot(%s)", wp->config->name, wp->config->chroot); in fpm_unix_init_child()
H A Dfpm_conf.c153 { "chroot", &fpm_conf_set_string, WPO(chroot) },
657 free(wpc->chroot); in fpm_worker_pool_config_free()
976 if (wp->config->chroot && *wp->config->chroot) { in fpm_conf_process_all_pools()
978 fpm_evaluate_full_path(&wp->config->chroot, wp, NULL, 1); in fpm_conf_process_all_pools()
980 if (*wp->config->chroot != '/') { in fpm_conf_process_all_pools()
981 …ROR, "[pool %s] the chroot path '%s' must start with a '/'", wp->config->name, wp->config->chroot); in fpm_conf_process_all_pools()
985 if (!fpm_conf_is_dir(wp->config->chroot)) { in fpm_conf_process_all_pools()
1001 if (wp->config->chroot) { in fpm_conf_process_all_pools()
1004 spprintf(&buf, 0, "%s/%s", wp->config->chroot, wp->config->chdir); in fpm_conf_process_all_pools()
1073 if (!wp->config->chroot) { in fpm_conf_process_all_pools()
[all …]
H A Dfpm_conf.h85 char *chroot; member
/PHP-5.6/sapi/tux/
H A DREADME22 Note that requests are served in a chroot'ed environment.
23 The initialization of PHP does not take place in the chroot'ed
/PHP-5.6/sapi/fpm/
H A Dwww.conf.in11 ; - 'chroot'
342 ; absolute path. When this value is not set, chroot is not used.
343 ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
347 ; possible. However, all PHP paths will be relative to the chroot
350 ;chroot =
354 ; Default Value: current directory or / when chroot
H A Dphp-fpm.conf.in137 ; - 'chroot'
472 ; absolute path. When this value is not set, chroot is not used.
473 ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
477 ; possible. However, all PHP paths will be relative to the chroot
480 ;chroot =
484 ; Default Value: current directory or / when chroot
/PHP-5.6/ext/opcache/
H A DREADME111 This directive prevents file name collisions in different "chroot"
113 different "chroot" environments.
/PHP-5.6/sapi/litespeed/
H A Dlsapilib.c886 rv = chroot( pChroot ); in setUID_LVE()
/PHP-5.6/
H A Dconfigure.in611 chroot \
H A DINSTALL919 * The default install of Apache runs inside a » chroot(2) jail, which
927 automatically installs into the correct chroot directories, so no
H A Dphp.ini-development2002 ; Prevent name collisions in chroot'ed environment.
H A Dphp.ini-production2002 ; Prevent name collisions in chroot'ed environment.
H A DNEWS3304 . Fixed bug #65226 (chroot() does not get enabled). (Anatol)
9439 - Fixed bug #40092 (chroot() doesn't clear realpath cache). (Dmitry)

Completed in 96 milliseconds