我已经使用 pear 使用命令安装了 php documentor
$ pear channel-discover pear.phpdoc.org
$ pear install phpdoc/phpDocumentor
Error: failed to mkdir c:/php/pear/data/phpDocumentor/features/generates-documentation/create-documents-using-twigs
现在我正在写
$ phpdoc run -d E:/input/demo.php -t E:/output
然后错误如下
Parsing configuration file phpDocumentor.ini...
<found in c:\php\pear\data/phpDocumentor/>
Error: cannot open phpDocumentor.ini in directory c:/xampp/php/pear/phpDocumentor
-Is phpdoc in either the path or include_path in your php.ini file?
请帮忙。