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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -