PHPdoc でドキュメントを生成する際に、次のスクリプトを実行するにはどうすればよいですか?
#1 sudo コード
sudo source makedoc.sh
私は得る
no command source
#2 sudo なし
問題はsudo
、コマンドがないことsource
です。~/phpdoc/phpdoc の権限を 777 に変更してから実行することで、問題を解決しようとしましたが失敗しました
source makedoc.sh
私は得る
makedoc.sh:90: permission denied: /home/masi/phpdoc/phpdoc
#3 sudo なし
走る
phpdoc -c makedoc.sh
私は得る
codes master $ phpdoc -c makedoc.sh
PHP Version 5.2.6-3ubuntu4.2
phpDocumentor version 1.4.2
Parsing configuration file phpDocumentor.ini...
(found in /usr/share/php/data/PhpDocumentor/)...
done
Maximum memory usage set at 256M after considering php.ini...
using tokenizer Parser
a target directory must be specified
try phpdoc -h