I'm trying to update my PHP version from 7.1.x to 7.3.x. Unfortunately once I run the curl command to update the version, my php -v
still outputs the following.
PHP 7.1.23 (cli) (built: Nov 27 2018 16:59:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
Heres the curl command I'm using and the reference of where I found this command.
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3
Reference: https://php-osx.liip.ch/
I've then added the following to my .zshrc
file to update my path with ZSH's built in mapping. See: https://stackoverflow.com/a/18077919/6572260
# Append to Path PHP
path+=("/usr/local/php5/bin")
# Export the PATH
export PATH=$PATH
This doesn't work either and I have no idea what I'm doing wrong.