0
這是我的配置梨,我會執行php doc命令時出現此錯誤。林在Mac OS塞拉利昂和我的php -v PHP是30年6月5日(CLI)(建:2017年2月7日16時18分37秒)PHP文檔不能在Mac OS Sierra上工作
phpdoc --filename first-doc.php -t docs
PHP Warning: require(PhpDocumentor/phpDocumentor/phpdoc.inc): failed to open stream: No such file or directory in /usr/local/bin/phpdoc on line 40
PHP Fatal error: require(): Failed opening required 'PhpDocumentor/phpDocumentor/phpdoc.inc' (include_path='.:') in /usr/local/bin/phpdoc on line 40
很明顯,這個文件'phpdoc'不存在於這個路徑中'/ usr/local/bin' –