Although I followed the instruction to install phpDocumentor, Command line doesn't seem to respond to phpdoc
Given error: Command 'phpdoc' not found, did you mean: command 'phploc' from deb phploc command 'phpdox' from deb phpdox Try: sudo apt install
I followed these steps to install phpdoc and it seemed to work
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor
When the installation completed I tried to run phpdoc -h and it did not work.
Using: 7.2.16
OS: Ubuntu 18.04.2 LTS
I appreciate any attempt to help.
sudo
those install commands? (Just curious, I just installed on Linux Mint 18.1 without problems) Did you try any of the other installation methods? – Creekmoreinclude_path=".:/home/user/pear/share/pear"
manually. but it doesn't have anything to do withphpdoc
am I right? beacousepear
already works. – Defectwhereis phpdoc
return? Is that path in yourPATH
? (Mine saysphpdoc: /usr/bin/phpdoc
) – Creekmorephpdoc:
followed by nothing, can I add it manually? – Defect/usr/bin
isn't in your$PATH
(check withecho $PATH
) which is very unlikely, or something went wrong with the installation. Try to reinstall it, making sure you run it as root. Also pay attention to any potential error messages returned by pear. – Adorationinstall ok
as it's supposed to, but still no progress – Defect