File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 105105 if (is_array ($ php_records ) && !empty ($ php_records )) {
106106 foreach ( $ php_records as $ php_record ) {
107107 if ($ php_type == 'php-fpm ' || ($ php_type == 'hhvm ' && $ server_type == 'nginx ' )){
108- $ php_version = $ php_record [ ' name ' ]. ' : ' . $ php_record ['php_fpm_init_script ' ]. ' : ' . $ php_record [ ' php_fpm_ini_dir ' ]. ' : ' . $ php_record [ ' php_fpm_pool_dir ' ];
108+ $ php_version = $ php_version = $ php_record ['server_php_id ' ];
109109 } else {
110- $ php_version = $ php_record [ ' name ' ]. ' : ' . $ php_record ['php_fastcgi_binary ' ]. ' : ' . $ php_record [ ' php_fastcgi_ini_dir ' ];
110+ $ php_version = $ php_version = $ php_record ['server_php_id ' ];
111111 }
112112 if ($ php_record ['name ' ] != $ web_config ['php_default_name ' ]) {
113113 $ json .= '" ' .$ php_version .'": " ' .$ php_record ['name ' ].'", ' ;
You can’t perform that action at this time.
0 commit comments