pull/109/head
Mr Chen 6 years ago
parent 70032ea69e
commit fc394e6248
  1. 6
      plugins/php/conf/www.conf
  2. 2
      plugins/php/index.html
  3. 2
      plugins/php/index.py

@ -7,4 +7,8 @@ pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.status_path = /phpfpm_status_{$PHP_VERSION}
pm.status_path = /phpfpm_status_{$PHP_VERSION}
request_slowlog_timeout = 1
slowlog = {$SERVER_PATH}/php/{$PHP_VERSION}/var/log/www-slow.log

@ -12,7 +12,7 @@
<p onclick="getFpmConfig($('.plugin_version').attr('version'));">性能调整</p>
<p onclick="getFpmStatus($('.plugin_version').attr('version'));">负载状况</p>
<p onclick="pluginLogs('php',$('.plugin_version').attr('version'),'fpm_log');">FPM日志</p>
<p onclick="pluginLogs('php',$('.plugin_version').attr('version'),'fpm_show_log');">慢日志</p>
<p onclick="pluginLogs('php',$('.plugin_version').attr('version'),'fpm_slow_log');">慢日志</p>
<p onclick="redisStatus();">PHPIFNO</p>
</div>
<div class="bt-w-con pd15">

@ -194,7 +194,7 @@ def fpmLog(version):
def fpmSlowLog(version):
return getServerDir() + '/' + version + '/var/log/php-fpm-slow.log'
return getServerDir() + '/' + version + '/var/log/www-slow.log'
def getPhpConf(version):

Loading…
Cancel
Save