Searched refs:chroot (Results 1 – 15 of 15) sorted by relevance
/PHP-7.2/ext/standard/tests/file/ |
H A D | chroot_001.phpt | 2 chroot() 10 if (!function_exists("chroot")) { 11 die("skip chroot() not available"); 18 var_dump(chroot("chroot_001_x"));
|
/PHP-7.2/ext/standard/ |
H A D | php_dir.h | 31 PHP_FUNCTION(chroot);
|
H A D | dir.c | 291 PHP_FUNCTION(chroot) in PHP_FUNCTION() argument 301 ret = chroot(str); in PHP_FUNCTION()
|
H A D | config.m4 | 335 AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
|
H A D | basic_functions.c | 3220 PHP_FE(chroot, arginfo_chroot)
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 310 if (wp->config->chroot && *wp->config->chroot) { in fpm_unix_conf_wp() 353 if (is_root && wp->config->chroot && *wp->config->chroot) { in fpm_unix_init_child() 354 if (0 > chroot(wp->config->chroot)) { in fpm_unix_init_child() 355 zlog(ZLOG_SYSERROR, "[pool %s] failed to chroot(%s)", wp->config->name, wp->config->chroot); in fpm_unix_init_child()
|
H A D | fpm_conf.h | 85 char *chroot; member
|
H A D | fpm_conf.c | 153 { "chroot", &fpm_conf_set_string, WPO(chroot) }, 657 free(wpc->chroot); in fpm_worker_pool_config_free() 1000 if (wp->config->chroot && *wp->config->chroot) { in fpm_conf_process_all_pools() 1002 fpm_evaluate_full_path(&wp->config->chroot, wp, NULL, 1); in fpm_conf_process_all_pools() 1004 if (*wp->config->chroot != '/') { in fpm_conf_process_all_pools() 1005 …ROR, "[pool %s] the chroot path '%s' must start with a '/'", wp->config->name, wp->config->chroot); in fpm_conf_process_all_pools() 1009 if (!fpm_conf_is_dir(wp->config->chroot)) { in fpm_conf_process_all_pools() 1025 if (wp->config->chroot) { in fpm_conf_process_all_pools() 1028 spprintf(&buf, 0, "%s/%s", wp->config->chroot, wp->config->chdir); in fpm_conf_process_all_pools() 1097 if (!wp->config->chroot) { in fpm_conf_process_all_pools() [all …]
|
/PHP-7.2/sapi/fpm/ |
H A D | www.conf.in | 11 ; - 'chroot' 352 ; absolute path. When this value is not set, chroot is not used. 353 ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one 357 ; possible. However, all PHP paths will be relative to the chroot 360 ;chroot = 364 ; Default Value: current directory or / when chroot
|
/PHP-7.2/ext/opcache/ |
H A D | README | 116 This directive prevents file name collisions in different "chroot" 118 different "chroot" environments.
|
/PHP-7.2/ |
H A D | configure.ac | 602 chroot \
|
H A D | INSTALL | 715 * The default install of Apache runs inside a » chroot(2) jail, which 723 automatically installs into the correct chroot directories, so no
|
H A D | php.ini-development | 1899 ; Prevent name collisions in chroot'ed environment.
|
H A D | php.ini-production | 1901 ; Prevent name collisions in chroot'ed environment.
|
/PHP-7.2/sapi/litespeed/ |
H A D | lsapilib.c | 1058 rv = chroot( pChroot ); in setUID_LVE()
|
Completed in 90 milliseconds