pear - Can't run phpdoc (bad interpreter error) -
installed phpdocumentor via pear, when try run error:
bash: /users/username/pear/bin/phpdoc: /usr/local/cellar/php55/5.5.9/bin/php: bad interpreter: no such file or directory
i tried symlink 2 files no success. can run phpdoc
?
edit file /users/username/pear/bin/phpdoc
, change first line from
#!/usr/local/cellar/php55/5.5.9/bin/php
to path exists.
alternatively, run
php /users/username/pear/bin/phpdoc ...
you should fix php binary pear uses first verifying it:
pear config-get php_bin
then changing with
pear config-set php_bin /path/to/php
after re-installing phpdoc via pear work now.
Comments
Post a Comment