Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用graphviz时PHP文档崩溃_Graphviz_Phpdoc - Fatal编程技术网

使用graphviz时PHP文档崩溃

使用graphviz时PHP文档崩溃,graphviz,phpdoc,Graphviz,Phpdoc,根据phpDocumentor中的警告,我刚刚成功地正确安装了“点”。然而,现在当我尝试构建文档时,我遇到了一个例外: [phpDocumentor\GraphViz\Exception] An error occurred while creating the graph; GraphViz returned: Format: "svg" not recognized. Use one of: 有人知道如何克服这一点吗?我正在运行的命令是: php phpdoc.php -c myp

根据phpDocumentor中的警告,我刚刚成功地正确安装了“点”。然而,现在当我尝试构建文档时,我遇到了一个例外:

  [phpDocumentor\GraphViz\Exception]
  An error occurred while creating the graph; GraphViz returned: Format: "svg" not recognized. Use one of:
有人知道如何克服这一点吗?我正在运行的命令是:

php phpdoc.php -c mypath/phpdoc.dist.xml -p

我也有同样的问题,运行
sudot-c
为我解决了这个问题