We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e1697 commit b2c7eeaCopy full SHA for b2c7eea
sapi/fpm/fpm/fpm_main.c
@@ -1550,7 +1550,6 @@ int main(int argc, char *argv[])
1550
1551
sapi_startup(&cgi_sapi_module);
1552
cgi_sapi_module.php_ini_path_override = NULL;
1553
- cgi_sapi_module.phpinfo_as_text = 1;
1554
1555
#ifdef PHP_WIN32
1556
_fmode = _O_BINARY; /* sets default for file streams to binary */
@@ -1624,6 +1623,7 @@ int main(int argc, char *argv[])
1624
1623
goto out;
1625
1626
case 'i': /* php info & quit */
+ cgi_sapi_module.phpinfo_as_text = 1;
1627
cgi_sapi_module.startup(&cgi_sapi_module);
1628
if (php_request_startup(TSRMLS_C) == FAILURE) {
1629
SG(server_context) = NULL;
0 commit comments