我试图配置一个使用xhprof的程序。
当我使用php模式或在webServer中构建php的php模式时,调用图生成的映像工作得很好。
但是,当我使用nginx+php时,xhprof_generate_image_by_dot的点执行将永远阻塞。
然后我安装pear Image_Graphviz.Write --一个简单的例子,如下所示:
require_once 'Image/GraphViz.php';
$img = new Image_GraphViz();
$img->addNode(
'Node1',
array(
'URL' => 'http://link1',
'label' => 'This is a label',
'shape' => 'box'
)
);
$img->image('png');php的内置webServer可以生成png文件ok,但是php块永远在点exec。
有人能帮我吗?这是怎么回事?以下是一些相关的机器信息:
发布于 2013-12-27 03:34:45
重新启动我的machine.Everything后,向右转。
神秘感。
https://stackoverflow.com/questions/20788248
复制相似问题