bash - Php version reads as one version, when I need another -


on mac/terminal, i'm attempting set local server laravel keep getting error php version not date. have attempted install needed 5.6 version via tutorial, i'm assuming needs updated in bash, possibly things using composer. not how update bash correctly or here. https://coolestguidesontheplanet.com/upgrade-php-on-osx/ how updated. also, if have suggestions can learning prevent question in future appreciated/where start. edit: error: package requires php >=5.6.4 php version (5.5.36) not satisfy requirement. terminal command: composer update

install php homebrew

brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew unlink php56 brew install php70see if works you. had alias php7 in ~/.bash_profile


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -