Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 153) sorted by last modified time

1234567

/PHP-7.0/win32/build/
H A Dconfutils.js559 var i, found = false, place = false, file, env;
582 env = WshShell.Environment("Process").Item(env_name);
583 env = env.split(";");
584 for (i = 0; i < env.length; i++) {
585 file = glob(env[i] + "\\" + thing_to_find);
H A DMakefile170 test: set-tmp-env
173 run: set-tmp-env
176 test: set-tmp-env
179 run: set-tmp-env
183 build-snap: set-tmp-env generated_files
H A DMakefile.phpize45 test: set-tmp-env
48 run: set-tmp-env
/PHP-7.0/
H A Dserver-tests.php179 $pipes, $cwd, $env);
476 public $env = array(); variable in testHarness
482 $this->env = $_ENV;
678 $this->env = array_merge($this->env,$this->conf);
1108 $env = $this->env;
1116 return $env;
1335 $env['PATH_TRANSLATED']='';
1337 $env['PATH_INFO']='';
1339 $env['SCRIPT_NAME']='';
1341 $env['SCRIPT_FILENAME']='';
[all …]
H A Drun-tests.php1137 $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);
1513 $env['REDIRECT_STATUS'] = '';
1514 $env['QUERY_STRING'] = '';
1515 $env['PATH_TRANSLATED'] = '';
1516 $env['SCRIPT_FILENAME'] = '';
1517 $env['REQUEST_METHOD'] = '';
1518 $env['CONTENT_TYPE'] = '';
1519 $env['CONTENT_LENGTH'] = '';
1520 $env['TZ'] = '';
1528 $env[$e[0]] = $e[1];
[all …]
H A Dphp.ini-development750 ; http://php.net/cgi.redirect-status-env
H A Dphp.ini-production750 ; http://php.net/cgi.redirect-status-env
/PHP-7.0/sapi/phpdbg/
H A D.travis.yml3 env:
/PHP-7.0/sapi/fpm/
H A Dwww.conf.in277 ; it must be associated with embraces to specify the name of the env
372 ; by clearing the environment in workers before env vars specified in this
389 ; Default Value: clean env
390 ;env[HOSTNAME] = $HOSTNAME
391 ;env[PATH] = /usr/local/bin:/usr/bin:/bin
392 ;env[TMP] = /tmp
393 ;env[TMPDIR] = /tmp
394 ;env[TEMP] = /tmp
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c239 char **env, *p, *t = buf; in litespeed_php_import_environment_variables() local
259 for (env = environ; env != NULL && *env != NULL; env++) { in litespeed_php_import_environment_variables()
260 p = strchr(*env, '='); in litespeed_php_import_environment_variables()
264 nlen = p - *env; in litespeed_php_import_environment_variables()
269 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
H A Dlsapilib.c3131 char **env; in unset_lsapi_envs() local
3133 env = *_NSGetEnviron(); in unset_lsapi_envs()
3135 env = environ; in unset_lsapi_envs()
3137 while( env != NULL && *env != NULL ) in unset_lsapi_envs()
3139 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI_", 10 ) in unset_lsapi_envs()
3140 || (!strncmp( *env, "PHPRC=", 6 )&&(!s_uid))) in unset_lsapi_envs()
3142 char ** del = env; in unset_lsapi_envs()
3148 ++env; in unset_lsapi_envs()
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_conf.c676 for (kv = wpc->env; kv; kv = kv_next) { in fpm_worker_pool_config_free()
1426 config = (char *)current_wp->config + WPO(env); in fpm_conf_ini_parser_array()
1650 for (kv = wp->config->env; kv; kv = kv->next) { in fpm_conf_dump()
H A Dfpm_conf.h90 struct key_value_s *env; member
H A Dfpm_env.c150 for (kv = wp->config->env; kv; kv = kv->next) { in fpm_env_init_child()
170 for (kv = wp->config->env; kv; kv = kv->next) { in fpm_env_conf_wp()
H A Dfpm_log.c236 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write() local
237 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write()
/PHP-7.0/sapi/cli/tests/
H A Dbug67741.phpt11 #!/bin/env php
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c1571 char **env, *p, *q, *var, *val, *t = buf; local
1575 for (env = environ; env != NULL && *env != NULL; env++) {
1576 val = strchr(*env, '=');
1580 var_len = val - *env;
1585 var = *env;
/PHP-7.0/main/
H A Dphp_variables.c502 char **env, *p, *t = buf; in _php_import_environment_variables() local
506 for (env = environ; env != NULL && *env != NULL; env++) { in _php_import_environment_variables()
507 p = strchr(*env, '='); in _php_import_environment_variables()
511 nlen = p - *env; in _php_import_environment_variables()
516 memcpy(t, *env, nlen); in _php_import_environment_variables()
H A Dfastcgi.c234 fcgi_hash env; member
912 fcgi_hash_init(&req->env); in fcgi_init_request()
918 fcgi_hash_destroy(&req->env); in fcgi_destroy_request()
1061 fcgi_hash_clean(&req->env); in fcgi_read_request()
1169 q = req->env.list; in fcgi_read_request()
1271 fcgi_hash_clean(&req->env); in fcgi_close()
1690 return fcgi_hash_get(&req->env, hash_value, (char*)var, var_len, &val_len);
1697 fcgi_hash_del(&req->env, FCGI_HASH_FUNC(var, var_len), var, var_len);
1707 fcgi_hash_del(&req->env, hash_value, var, var_len);
1710 return fcgi_hash_set(&req->env, hash_value, var, var_len, val, (unsigned int)strlen(val));
[all …]
/PHP-7.0/ext/standard/tests/file/
H A Dbug72035.phpt23 /* Need to run CGI with the env reset. */
/PHP-7.0/ext/standard/
H A Dproc_open.c79 php_process_env_t env; in _php_array_to_envp() local
88 memset(&env, 0, sizeof(env)); in _php_array_to_envp()
91 return env; in _php_array_to_envp()
101 return env; in _php_array_to_envp()
159 return env; in _php_array_to_envp()
167 if (env.envarray) { in _php_free_envp()
171 if (env.envp) { in _php_free_envp()
421 php_process_env_t env; in PHP_FUNCTION() local
498 memset(&env, 0, sizeof(env)); in PHP_FUNCTION()
848 if (env.envarray) { in PHP_FUNCTION()
[all …]
H A Dproc_open.h48 php_process_env_t env; member
H A Dinfo.c824 char **env, *tmp1, *tmp2; in php_print_info() local
1008 for (env=environ; env!=NULL && *env !=NULL; env++) { in php_print_info()
1009 tmp1 = estrdup(*env); in php_print_info()
H A Dbasic_functions.c1874 ZEND_ARG_INFO(0, env) /* ARRAY_INFO(0, env, 1) */
3428 char **env; in php_putenv_destructor()
3430 for (env = environ; env != NULL && *env != NULL; env++) { in php_putenv_destructor()
3431 if (!strncmp(*env, pe->key, pe->key_len) && (*env)[pe->key_len] == '=') { /* found it */ in php_putenv_destructor()
3432 *env = ""; in php_putenv_destructor()
4087 char *p, **env; local
4129 for (env = environ; env != NULL && *env != NULL; env++) {
4130 if (!strncmp(*env, pe.key, pe.key_len) && (*env)[pe.key_len] == '=') { /* found it */
4133 pe.previous_value = estrdup(*env);
4135 pe.previous_value = *env;
/PHP-7.0/ext/soap/tests/
H A Dtypemap006.phpt10 <env:Envelope xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"
16 <env:Body>
20 </env:Body>
21 <env:Header/>
22 </env:Envelope>";

Completed in 125 milliseconds

1234567