EOM
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1
sudo ln -s /usr/local/php5-7.1.4-20170506-100436 /usr/local/php7
set --universal fish_user_paths $fish_user_paths /usr/local/php7/bin
Also, you should probably add the path for Bash Shell (below).
Add /usr/local/php7/bin to /etc/paths.
Edit
/usr/local/php5/php.d/99-liip-developer.ini