我已经在phpDocumentor-2.7.0上安装了ubuntu10.04
但是,当在终端上输入phpdoc命令时,它将错误显示为
phpdoc:命令未找到
我是按照http://www.phpdoc.org/安装的
$ pear channel-discover pear.phpdoc.org
Channel "pear.phpdoc.org" is already initialized
$ pear install phpdoc/phpDocumentor
downloading phpDocumentor-2.7.0.tgz ...
Starting to download phpDocumentor-2.7.0.tgz (16,118,916 bytes)
............................................................done: 16,118,916 bytes
install ok: channel://pear.phpdoc.org/phpDocumentor-2.7.0
$ phpdoc
phpdoc:command not found发布于 2014-09-10 16:18:13
您的PEAR配置可能没有设置它的"bin_dir“配置,就像您的shell路径包含它一样。
pear config-show,以查看bin_dir设置为什么。
echo $PATH,查看它是否包含该bin_dir值。
https://stackoverflow.com/questions/25641374
复制相似问题