diff --git a/plugins/php-apt/js/php.js b/plugins/php-apt/js/php.js index 871dc8783..531338bfc 100755 --- a/plugins/php-apt/js/php.js +++ b/plugins/php-apt/js/php.js @@ -320,10 +320,19 @@ function getFpmStatus(version){ return; } + var php_fpm_status = '动态'; + if (rdata['process manager'] == 'dynamic'){ + php_fpm_status = '动态'; + } else if(rdata['process manager'] == 'static'){ + php_fpm_status = '静态'; + } else if(rdata['process manager'] == 'ondemand'){ + php_fpm_status = '按需'; + } + var rdata = tmp_data.data; var con = "
\ \ - \ + \ \ \ \ diff --git a/plugins/php-yum/js/php.js b/plugins/php-yum/js/php.js index b44615cbb..4673ac5e9 100755 --- a/plugins/php-yum/js/php.js +++ b/plugins/php-yum/js/php.js @@ -326,10 +326,19 @@ function getFpmStatus(version){ return; } + var php_fpm_status = '动态'; + if (rdata['process manager'] == 'dynamic'){ + php_fpm_status = '动态'; + } else if(rdata['process manager'] == 'static'){ + php_fpm_status = '静态'; + } else if(rdata['process manager'] == 'ondemand'){ + php_fpm_status = '按需'; + } + var rdata = tmp_data.data; var con = "
应用池(pool)" + rdata.pool + "
进程管理方式(process manager)" + ((rdata['process manager'] == 'dynamic') ? '动态' : '静态') + "
进程管理方式(process manager)" + php_fpm_status + "
启动日期(start time)" + rdata['start time'] + "
请求数(accepted conn)" + rdata['accepted conn'] + "
请求队列(listen queue)" + rdata['listen queue'] + "
\ \ - \ + \ \ \ \ diff --git a/plugins/php/js/php.js b/plugins/php/js/php.js index b97d08c72..2606220ce 100755 --- a/plugins/php/js/php.js +++ b/plugins/php/js/php.js @@ -319,10 +319,19 @@ function getFpmStatus(version){ return; } + var php_fpm_status = '动态'; + if (rdata['process manager'] == 'dynamic'){ + php_fpm_status = '动态'; + } else if(rdata['process manager'] == 'static'){ + php_fpm_status = '静态'; + } else if(rdata['process manager'] == 'ondemand'){ + php_fpm_status = '按需'; + } + var rdata = tmp_data.data; var con = "
应用池(pool)" + rdata.pool + "
进程管理方式(process manager)" + ((rdata['process manager'] == 'dynamic') ? '动态' : '静态') + "
进程管理方式(process manager)" + php_fpm_status + "
启动日期(start time)" + rdata['start time'] + "
请求数(accepted conn)" + rdata['accepted conn'] + "
请求队列(listen queue)" + rdata['listen queue'] + "
\ \ - \ + \ \ \ \
应用池(pool)" + rdata.pool + "
进程管理方式(process manager)" + ((rdata['process manager'] == 'dynamic') ? '动态' : '静态') + "
进程管理方式(process manager)" + php_fpm_status + "
启动日期(start time)" + rdata['start time'] + "
请求数(accepted conn)" + rdata['accepted conn'] + "
请求队列(listen queue)" + rdata['listen queue'] + "