在yii、thinkphp中使用xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);报502错误。
应该修改为以下配置:
xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY);
标签:contain ble enable tin gateway log 错误 div yii
使用xhprof会在nginx下报502 Bad Gateway错误
在yii、thinkphp中使用xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);报502错误。
应该修改为以下配置:
xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY);
使用xhprof会在nginx下报502 Bad Gateway错误
标签:contain ble enable tin gateway log 错误 div yii
原文地址:http://www.cnblogs.com/dongruiha/p/6812478.html