To install php7 I run:
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1
php -v
It show php 5.6.30
Then, I run this in my terminal:
export PATH=/usr/local/php5/bin:$PATH
php-v
It show the latest version of php : 7.1 .
When I closing the terminal and run the php -v
again.
it show the old version php again 5.6.30
Why is this happening?