Download | Plain Text | No Line Numbers
- diff -Naur a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c
- --- a/sapi/fpm/fpm/fpm_main.c 2024-08-21 12:53:25.844588828 +0200
- +++ b/sapi/fpm/fpm/fpm_main.c 2024-08-21 12:54:09.155267224 +0200
- @@ -730,6 +730,16 @@
- }
- }
-
- + /* INI stuff */
- + char *ini = FCGI_GETENV(request, "PHP_VALUE");
- + if (ini) {
- + int mode = ZEND_INI_PERDIR;
- + char *tmp;
- + spprintf(&tmp, 0, "%s\n", ini);
- + zend_parse_ini_string(tmp, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t)fastcgi_ini_parser, &mode);
- + efree(tmp);
- + }
- +
- if (php_ini_has_per_dir_config() ||
- (PG(user_ini_filename) && *PG(user_ini_filename))
- ) {
- @@ -1354,6 +1364,7 @@
- php_handle_auth_data(auth);
- }
-
- +#if 0
- /* INI stuff */
- ini = FCGI_GETENV(request, "PHP_VALUE");
- if (ini) {
- @@ -1372,6 +1383,7 @@
- zend_parse_ini_string(tmp, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t)fastcgi_ini_parser, &mode);
- efree(tmp);
- }
- +#endif
- }
- /* }}} */
-
-