Home
last modified time | relevance | path

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

1234567

/php-src/
H A DUPGRADING258 . Added ability to change .php_history path through PHP_HISTFILE env variable.
H A Dconfigure.ac67 dnl Allow overriding PHP_EXTRA_VERSION through the homonymous env var
H A Dphp.ini-development805 ; https://php.net/cgi.redirect-status-env
H A Dphp.ini-production807 ; https://php.net/cgi.redirect-status-env
H A D.travis.yml55 env:
68 - env: ENABLE_ZTS=1 ENABLE_DEBUG=1 S390X=1
H A D.cirrus.yml1 env:
8 env:
/php-src/.github/workflows/
H A Dnightly.yml48 env:
56 env:
165 env:
295 env:
303 env:
359 env:
538 env:
546 env:
774 env:
892 env:
H A Dpush.yml41 env:
52 env:
59 env:
67 env:
197 env:
/php-src/sapi/cgi/
H A Dcgi_main.c1587 char **env, *p, *q, *var, *val, *t = buf; local
1591 for (env = environ; env != NULL && *env != NULL; env++) {
1592 val = strchr(*env, '=');
1596 var_len = val - *env;
1601 var = *env;
/php-src/main/
H A Dfastcgi.c228 fcgi_hash env; member
900 fcgi_hash_init(&req->env); in fcgi_init_request()
906 fcgi_hash_destroy(&req->env); in fcgi_destroy_request()
1049 fcgi_hash_clean(&req->env); in fcgi_read_request()
1160 q = req->env.list; in fcgi_read_request()
1260 fcgi_hash_clean(&req->env); in fcgi_close()
1686 return fcgi_hash_get(&req->env, hash_value, (char*)var, var_len, &val_len);
1693 fcgi_hash_del(&req->env, FCGI_HASH_FUNC(var, var_len), var, var_len);
1703 fcgi_hash_del(&req->env, hash_value, var, var_len);
1706 return fcgi_hash_set(&req->env, hash_value, var, var_len, val, (unsigned int)strlen(val));
[all …]
H A Dphp_variables.c611 p = strchr(env, '='); in import_environment_variable()
613 || p == env in import_environment_variable()
614 || !valid_environment_name(env, p)) { in import_environment_variable()
618 name_len = p - env; in import_environment_variable()
622 if (ZEND_HANDLE_NUMERIC_STR(env, name_len, idx)) { in import_environment_variable()
625 php_register_variable_quick(env, name_len, &val, ht); in import_environment_variable()
634 for (char **env = environ; env != NULL && *env != NULL; env++) { in _php_import_environment_variables() local
635 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables()
640 char *env = php_win32_cp_w_to_any(envw); in _php_import_environment_variables() local
641 if (env != NULL) { in _php_import_environment_variables()
[all …]
/php-src/ext/standard/
H A Dproc_open.c156 memset(&env, 0, sizeof(env)); in _php_array_to_envp()
159 return env; in _php_array_to_envp()
169 return env; in _php_array_to_envp()
220 return env; in _php_array_to_envp()
229 if (env.envarray) { in _php_free_envp()
233 if (env.envp) { in _php_free_envp()
234 efree(env.envp); in _php_free_envp()
1197 memset(&env, 0, sizeof(env)); in PHP_FUNCTION()
1303 if (env.envp) { in PHP_FUNCTION()
1360 env.envarray ? env.envarray : environ); in PHP_FUNCTION()
[all …]
H A Dbasic_functions.c185 char **env; in php_putenv_destructor()
187 for (env = environ; env != NULL && *env != NULL; env++) { in php_putenv_destructor()
188 if (!strncmp(*env, ZSTR_VAL(pe->key), ZSTR_LEN(pe->key)) in php_putenv_destructor()
189 && (*env)[ZSTR_LEN(pe->key)] == '=') { /* found it */ in php_putenv_destructor()
190 *env = ""; in php_putenv_destructor()
742 char *p, **env; local
773 for (env = environ; env != NULL && *env != NULL; env++) {
774 if (!strncmp(*env, ZSTR_VAL(pe.key), ZSTR_LEN(pe.key))
775 && (*env)[ZSTR_LEN(pe.key)] == '=') { /* found it */
778 pe.previous_value = estrdup(*env);
[all …]
H A Dinfo.c782 char **env, *tmp1, *tmp2; in php_print_info() local
992 for (env=environ; env!=NULL && *env !=NULL; env++) { in php_print_info()
993 tmp1 = estrdup(*env); in php_print_info()
/php-src/sapi/fpm/tests/
H A Dtester.inc507 …* @param array|null $envVars List of env variable to execute FPM with or null to use the curre…
H A Dbug75712-getenv-server-vars.phpt17 env[TEST] = test
H A Dfcgi-env-pif-apache-pp-sn-strip-encoded-plus.phpt2 FPM: FastCGI env var path info fix for Apache ProxyPass SCRIPT_NAME encoded path and plush sign (GH…
/php-src/sapi/fpm/fpm/
H A Dfpm_conf.c705 for (kv = wpc->env; kv; kv = kv_next) { in fpm_worker_pool_config_free()
1571 config = (char *)current_wp->config + WPO(env); in fpm_conf_ini_parser_array()
1819 for (kv = wp->config->env; kv; kv = kv->next) { in fpm_conf_dump()
/php-src/sapi/litespeed/
H A Dlscriu.c602 char *env; in LSCRIU_Init_Env_Parameters() local
603 if ((env = getenv("LSAPI_CRIU_USE_SHM"))) { in LSCRIU_Init_Env_Parameters()
608 if ((*env == 'S') || (*env == 's')) in LSCRIU_Init_Env_Parameters()
613 if ((*env == '1') || in LSCRIU_Init_Env_Parameters()
614 (*env == 'Y') || in LSCRIU_Init_Env_Parameters()
615 (*env == 'y') || in LSCRIU_Init_Env_Parameters()
616 (*env == 'T') || in LSCRIU_Init_Env_Parameters()
617 (*env == 't') || in LSCRIU_Init_Env_Parameters()
618 (((*env == 'O') || (*env == 'o')) && in LSCRIU_Init_Env_Parameters()
619 ((*(env + 1) == 'N') || (*(env + 1) == 'n')))) in LSCRIU_Init_Env_Parameters()
[all …]
H A Dlsapilib.c3813 char **env; in unset_lsapi_envs() local
3815 env = *_NSGetEnviron(); in unset_lsapi_envs()
3817 env = environ; in unset_lsapi_envs()
3819 while( env != NULL && *env != NULL ) in unset_lsapi_envs()
3821 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI_", 10 ) in unset_lsapi_envs()
3822 || (!strncmp( *env, "PHPRC=", 6 )&&(!s_uid))) in unset_lsapi_envs()
3824 char ** del = env; in unset_lsapi_envs()
3830 ++env; in unset_lsapi_envs()
/php-src/.github/actions/setup-caddy/
H A Daction.yml6 env:
/php-src/ext/fileinfo/tests/
H A Dbug71434.phpt7 $a='#!env python
/php-src/ext/pdo_mysql/tests/inc/
H A Dmysql_pdo_test.inc5 foreach ($env as $k => $v) {
/php-src/win32/build/
H A DMakefile189 test: set-tmp-env
192 run: set-tmp-env
195 test: set-tmp-env
198 run: set-tmp-env
202 build-snap: set-tmp-env generated_files
H A Dconfutils.js599 var i, found = false, place = false, file, env;
622 env = WshShell.Environment("Process").Item(env_name);
623 env = env.split(";");
624 for (i = 0; i < env.length; i++) {
625 file = glob(env[i] + "\\" + thing_to_find);

Completed in 127 milliseconds

1234567