hasen's tech life

Twitter: @hasen

HomebrewでPHPを7.1から7.2にアップデート.

# HomebrewでPHPを7.1から7.2にアップデート.

$ brew unlink php@7.1
$ brew link php@7.2
$ echo 'export PATH="/usr/local/opt/php@7.2/bin:$PATH"' >> ~/.bash_profile
$ echo 'export PATH="/usr/local/opt/php@7.2/sbin:$PATH"' >> ~/.bash_profile
$ exec $SHELL -l