2014-02-24 33 views
1

我剛剛設法正確地安裝了「dot」,每次在phpDocumentor中發出警告。現在,當我嘗試建立我的文檔,但是,我得到異常:phpDocumentor在使用graphviz時崩潰

[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 

回答

2

我有同樣的問題,運行sudo dot -c修復了我。

相關問題