简体   繁体   中英

Error: No such file or directory - php

On executing following i get error :

From

usr/local/ brew install composer

gives error :

==> Installing composer from homebrew/php Error: No such file or directory - php

You should install composer by following the official guide: https://getcomposer.org/download/

I'm not sure the brew command still works with composer, and it's fairly easy to install

Followings are the steps to fix this error

brew install php56 and then
brew link php56 OR brew link --overwrite php56
brew install composer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM