您的位置:首页 > 运维架构 > Apache

win下 php5.5 xhprof apache crashed

2016-06-03 22:03 681 查看
php5.5运行 xhprof_enable 会发生段错误Segmentation fault: 11,这是一个已知的bug。
下面是报错测试脚本:

最新更新:可以使用该扩展,已支持到php7,该扩展的开发者提供性能监控云服务,一般自己用用,只用扩展就行了 https://github.com/tideways/php-profiler-extension https://ci.appveyor.com/project/tideways/php-profiler-extension/build/1.0.139/job/pearxy1oq923u2v0/artifacts

function loader() {

// <empty>

}

spl_autoload_register('loader', $throw = true);

xhprof_enable();

class_exists('ThisClassDoesNotExist');

echo "OK\n";
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: