/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 853 if (wp->config->prefix && *wp->config->prefix) { in fpm_conf_process_all_pools() 899 struct fpm_worker_pool_config_s *config = wp->config; in fpm_conf_process_all_pools() local 923 …config->pm_start_servers = config->pm_min_spare_servers + ((config->pm_max_spare_servers - config-… in fpm_conf_process_all_pools() 926 …} else if (config->pm_start_servers < config->pm_min_spare_servers || config->pm_start_servers > c… in fpm_conf_process_all_pools() 1036 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools() 1058 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools() 1103 if (wp->config->chroot && *wp->config->chroot) { in fpm_conf_process_all_pools() 1119 if (wp->config->chdir && *wp->config->chdir) { in fpm_conf_process_all_pools() 1231 …config->listen_address && *wp->config->listen_address && wp2->config->listen_address && *wp2->conf… in fpm_conf_process_all_pools() 1507 config = current_wp->config; in fpm_conf_ini_parser_entry() [all …]
|
H A D | fpm_unix.c | 85 wp->config->name, in fpm_unix_check_listen_address() 117 struct fpm_worker_pool_config_s *config = wp->config; in fpm_unix_test_config() local 355 if (wp->config->user && *wp->config->user) { in fpm_unix_conf_wp() 379 if (wp->config->group && *wp->config->group) { in fpm_unix_conf_wp() 400 if (wp->config->user && *wp->config->user) { in fpm_unix_conf_wp() 403 if (wp->config->group && *wp->config->group) { in fpm_unix_conf_wp() 406 if (wp->config->chroot && *wp->config->chroot) { in fpm_unix_conf_wp() 439 if (wp->config->rlimit_core) { in fpm_unix_init_child() 449 if (is_root && wp->config->chroot && *wp->config->chroot) { in fpm_unix_init_child() 457 if (wp->config->chdir && *wp->config->chdir) { in fpm_unix_init_child() [all …]
|
H A D | fpm_process_ctl.c | 164 child->wp->config->name, signo, in fpm_pctl_kill_all() 304 int slowlog_timeout = wp->config->request_slowlog_timeout; in fpm_pctl_check_request_timeout() 339 if (wp->config == NULL) continue; in fpm_pctl_perform_idle_server_maintenance() 379 if (wp->config->pm == PM_STYLE_ONDEMAND) { in fpm_pctl_perform_idle_server_maintenance() 396 if (wp->config->pm != PM_STYLE_DYNAMIC) continue; in fpm_pctl_perform_idle_server_maintenance() 406 if (idle < wp->config->pm_min_spare_servers) { in fpm_pctl_perform_idle_server_maintenance() 407 if (wp->running_children >= wp->config->pm_max_children) { in fpm_pctl_perform_idle_server_maintenance() 410 …reached pm.max_children setting (%d), consider raising it", wp->config->name, wp->config->pm_max_c… in fpm_pctl_perform_idle_server_maintenance() 429 …reached pm.max_children setting (%d), consider raising it", wp->config->name, wp->config->pm_max_c… in fpm_pctl_perform_idle_server_maintenance() 530 if (wp->running_children >= wp->config->pm_max_children) { in fpm_pctl_on_socket_accept() [all …]
|
H A D | fpm.c | 28 .config = NULL, 44 enum fpm_init_return_status fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, … in fpm_init() argument 48 if (config && *config) { in fpm_init() 49 fpm_globals.config = strdup(config); in fpm_init()
|
/php-src/ext/pdo_mysql/tests/ |
H A D | common.phpt | 9 $config = array( 15 $config['ENV']['PDOTEST_DSN'] = getenv('PDO_MYSQL_TEST_DSN'); 16 $config['ENV']['PDOTEST_USER'] = getenv('PDO_MYSQL_TEST_USER'); 17 $config['ENV']['PDOTEST_PASS'] = getenv('PDO_MYSQL_TEST_PASS'); 19 $config['ENV']['PDOTEST_ATTR'] = getenv('PDO_MYSQL_TEST_ATTR'); 22 $config['ENV']['PDOTEST_DSN'] = 'mysql:host=localhost;dbname=test'; 23 $config['ENV']['PDOTEST_USER'] = 'root'; 24 $config['ENV']['PDOTEST_PASS'] = ''; 27 return $config;
|
/php-src/ext/skeleton/ |
H A D | .gitignore.in | 9 config.cache 10 config.guess 11 config.h 12 config.h.in 13 config.log 14 config.nice 15 config.nice.bat 16 config.status 17 config.sub
|
/php-src/ext/pdo_firebird/tests/ |
H A D | common.phpt | 11 $config = array( 20 $config['ENV']['PDOTEST_DSN'] = getenv('PDO_FIREBIRD_TEST_DSN'); 21 $config['ENV']['PDOTEST_USER'] = getenv('PDO_FIREBIRD_TEST_USER'); 22 $config['ENV']['PDOTEST_PASS'] = getenv('PDO_FIREBIRD_TEST_PASS'); 24 $config['ENV']['PDOTEST_ATTR'] = getenv('PDO_FIREBIRD_TEST_ATTR'); 27 $config['ENV']['PDOTEST_DSN'] = 'firebird:dbname=/opt/firebird/test.gdb'; 28 $config['ENV']['PDOTEST_USER'] = 'SYSDBA'; 29 $config['ENV']['PDOTEST_PASS'] = 'password'; 31 return $config;
|
/php-src/.github/workflows/ |
H A D | real-time-benchmark.yml | 41 git config --global user.name "Benchmark" 51 - name: Set benchmark config 55 # Set infrastructure config 76 …cp ./php-version-benchmarks/config/php/master.ini.dist ./php-version-benchmarks/config/php/master_… 82 …cp ./php-version-benchmarks/config/php/master.ini.dist ./php-version-benchmarks/config/php/master_… 88 …cp ./php-version-benchmarks/config/php/master.ini.dist ./php-version-benchmarks/config/php/master_… 93 …cp ./php-version-benchmarks/config/php/master_jit.ini.dist ./php-version-benchmarks/config/php/mas… 97 …cp ./php-version-benchmarks/config/test/1_laravel.ini.dist ./php-version-benchmarks/config/test/1_… 98 …cp ./php-version-benchmarks/config/test/2_symfony_main.ini.dist ./php-version-benchmarks/config/te… 99 …cp ./php-version-benchmarks/config/test/4_wordpress.ini.dist ./php-version-benchmarks/config/test/… [all …]
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | common.phpt | 7 # Also update config.inc if you make changes here... 9 $config = array( 15 $config['ENV']['PDOTEST_DSN'] = getenv('PDO_PGSQL_TEST_DSN'); 17 $config['ENV']['PDOTEST_ATTR'] = getenv('PDO_PGSQL_TEST_ATTR'); 20 …$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password… 21 $config['ENV']['PDOTEST_USER'] = 'postgres'; 22 $config['ENV']['PDOTEST_PASS'] = 'postgres'; 25 return $config;
|
H A D | config.inc | 4 $config['ENV']['PDOTEST_DSN'] = getenv('PDO_PGSQL_TEST_DSN'); 6 $config['ENV']['PDOTEST_ATTR'] = getenv('PDO_PGSQL_TEST_ATTR'); 9 …$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password… 10 $config['ENV']['PDOTEST_USER'] = 'postgres'; 11 $config['ENV']['PDOTEST_PASS'] = 'postgres'; 14 foreach ($config['ENV'] as $k => $v) {
|
/php-src/ext/openssl/tests/ |
H A D | CertificateGenerator.inc | 63 'config' => self::CONFIG, 70 'config' => self::CONFIG, 123 $config = [ 124 'config' => $configFile, 130 $csr = openssl_csr_new($dn, $this->lastKey, $config); 136 $config, 139 return $config; 151 openssl_pkey_export($this->lastKey, $keyText, null, $config); 155 unlink($config['config']); 164 openssl_pkey_export_to_file($this->lastKey, $keyFile, null, $config); [all …]
|
H A D | bug73711.phpt | 11 $config = __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf'; 15 'config' => $config, 20 'config' => $config,
|
H A D | openssl_csr_export_basic.phpt | 12 $config = __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf'; 13 $config_arg = array('config' => $config); 28 "config" => $config,
|
/php-src/Zend/tests/ |
H A D | bug53748.phpt | 8 abstract protected function __construct($config); 9 public static function getInstance($config) { 10 if (!isset(self::$instances[$serialize = serialize($config)])) { 11 self::$instances[$serialize] = new self($config); 19 public function __construct($config) 21 var_dump( $config);
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | blog.phar | 1 <?php if(file_exists(dirname(__FILE__) . "/files/config.xml")) { 2 Phar::mount("config.xml", dirname(__FILE__) . "/files/config.xml"); 6 …�7Hvr�%��install.php�7H2���<?php if (!file_exists("config.xml")) { 10 var_dump(file_get_contents("config.xml"));
|
H A D | blog.phar.inc | 7 $phar->setStub('<?php if(file_exists(dirname(__FILE__) . "/files/config.xml")) { 8 Phar::mount("config.xml", dirname(__FILE__) . "/files/config.xml"); 12 $phar['index.php'] = '<?php if (!file_exists("config.xml")) { 16 var_dump(file_get_contents("config.xml"));
|
/php-src/ext/phar/tests/files/ |
H A D | blog.phar | 3 if(file_exists(dirname(__FILE__) . "/files/config.xml")) { 4 Phar::mount("config.xml", dirname(__FILE__) . "/files/config.xml"); 8 …?2�I�坙��install.php?2�I2���<?php if (!file_exists("config.xml")) { 12 var_dump(str_replace("\r\n", "\n", file_get_contents("config.xml")));
|
H A D | blog.phar.inc | 9 if(file_exists(dirname(__FILE__) . "/files/config.xml")) { 10 Phar::mount("config.xml", dirname(__FILE__) . "/files/config.xml"); 14 $phar['index.php'] = '<?php if (!file_exists("config.xml")) { 18 var_dump(str_replace("\r\n", "\n", file_get_contents("config.xml")));
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_config_basic.phpt | 2 Tests DOMDocument::config read 14 $test = $dom->config; 15 echo "Read config:\n"; 25 Deprecated: Property DOMDocument::$config is deprecated in %s on line %d 26 Read config:
|
/php-src/ext/pdo_odbc/tests/ |
H A D | common.phpt | 17 $config = array( 33 $config['ENV']['PDOTEST_DSN'] = getenv('PDOTEST_DSN'); 34 $config['ENV']['PDOTEST_USER'] = getenv('PDOTEST_USER'); 35 $config['ENV']['PDOTEST_PASS'] = getenv('PDOTEST_PASS'); 37 $config['ENV']['PDOTEST_ATTR'] = getenv('PDOTEST_ATTR'); 41 $config['ENV']['PDOTEST_DSN'] = getenv('PDO_ODBC_TEST_DSN'); 42 $config['ENV']['PDOTEST_USER'] = getenv('PDO_ODBC_TEST_USER'); 43 $config['ENV']['PDOTEST_PASS'] = getenv('PDO_ODBC_TEST_PASS'); 65 } // else: $config['ENV']['PDOTEST_DSN'] not set 66 } // else: $config['ENV']['PDOTEST_DSN'] not set [all …]
|
/php-src/ext/phar/tests/ |
H A D | bug65028.phpt | 43 "modules/cmt/setup/config.xml", 45 "modules/meta/setup/config.xml", 51 "modules/brd/setup/config.xml", 53 "modules/auth/setup/config.xml", 56 "modules/bwd/setup/config.xml", 61 "modules/nws/setup/config.xml", 66 "modules/gmp/setup/config.xml", 71 "modules/mul/setup/config.xml", 77 "modules/cat/setup/config.xml", 85 "modules/sty/setup/config.xml", [all …]
|
/php-src/sapi/apache2handler/ |
H A D | apache_config.c | 49 HashTable config; member 64 …g((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->config))); in real_value_hnd() 75 zend_hash_str_update_mem(&d->config, (char *) name, strlen(name), &e, sizeof(e)); in real_value_hnd() 160 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&d->config, str, data) { in merge_php_config() 167 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config() 172 zend_hash_copy(&n->config, &d->config, config_entry_ctor); in merge_php_config() 176 …zend_hash_merge_ex(&n->config, &e->config, config_entry_ctor, should_overwrite_per_dir_entry, NULL… in merge_php_config() 185 if ((pe = zend_hash_str_find_ptr(&d->config, name, name_len)) != NULL) { in get_php_config() 198 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&d->config, str, data) { in apply_config() 221 zend_hash_destroy(&d->config); in destroy_php_config() [all …]
|
/php-src/build/ |
H A D | pkg.m4 | 1 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 2 # serial 12 (pkg-config-0.29.2) 32 dnl Verify that the version of the pkg-config macros are at least 57 dnl pkg-config existed. 62 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) 67 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 151 and $1[]_LIBS to avoid the need to call pkg-config. 152 See the pkg-config man page for more details.]) 162 # Put the nasty error message in config.log where it belongs 180 path to pkg-config. [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug79665.phpt | 12 $config = opcache_get_configuration(); 14 var_dump($config['directives']['opcache.max_wasted_percentage']); 16 var_dump($config['directives']['opcache.memory_consumption']); 18 var_dump($config['directives']['opcache.max_accelerated_files']);
|
H A D | 001_cli.phpt | 11 $config = opcache_get_configuration(); 13 var_dump($config["directives"]["opcache.enable"]); 14 var_dump($config["directives"]["opcache.enable_cli"]);
|