laynefyc / php-monitor

A free, flexible, powerful tool that helps you monitor PHP Service and profiling PHP code.
231 stars 31 forks source link

目前使用过程中发现了几个问题 #14

Closed DanielZhao1990 closed 3 years ago

DanielZhao1990 commented 3 years ago

首先感谢作者的项目,以下我是在使用过程中发现的几个问题。 使用环境

  1. profiler enable 设置无效. $config['profiler']['enable']改为$config['profiler']['enable']()后修复
  2. 显示内存占用会出现负值情况 image
  3. SQL耗时永远都是0μs
laynefyc commented 3 years ago

PHP 5.6(download tideways v4.1.5) PHP 7.0+(download tideways v4.1.7) 。xhprof 扩展太老了,对PHP7+兼容性比较差。