Skip to content

Commit e665f15

Browse files
committed
output phpinfo() as text, no need for HTML here
1 parent 392a27e commit e665f15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/fpm/fpm/fpm_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,7 @@ int main(int argc, char *argv[])
15621562

15631563
sapi_startup(&cgi_sapi_module);
15641564
cgi_sapi_module.php_ini_path_override = NULL;
1565+
cgi_sapi_module.phpinfo_as_text = 1;
15651566

15661567
#ifdef PHP_WIN32
15671568
_fmode = _O_BINARY; /* sets default for file streams to binary */

0 commit comments

Comments
 (0)