Created
February 12, 2015 01:42
-
-
Save FullStackForger/17ea65bb0ffc4bd9ad4f to your computer and use it in GitHub Desktop.
Installing different PHP versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo port install php53 +apache2 +pear php53-apache2handler php53-curl php53-iconv php53-mbstring php53-mcrypt php53-mysql php53-openssl php53-gd php53-uploadprogress php53-pear php53-zip php53-xdebug | |
sudo port install php54 +apache2 +pear php54-apache2handler php54-curl php54-iconv php54-mbstring php54-mcrypt php54-mysql php54-openssl php54-gd php54-uploadprogress php54-pear php54-zip php54-xdebug | |
sudo port install php55 +apache2 +pear php55-apache2handler php55-curl php55-iconv php55-mbstring php55-mcrypt php55-mysql php55-openssl php55-gd php55-uploadprogress php55-pear php55-zip php55-xdebug | |
sudo port install php56 +apache2 +pear php56-apache2handler php56-curl php56-iconv php56-mbstring php56-mcrypt php56-mysql php56-openssl php56-gd php56-uploadprogress php56-pear php56-zip php56-xdebug | |
sudo port select php php55 | |
sudo port install pear-PEAR | |
# ~/.profile | |
# MacPorts PHP PEAR | |
#export PHP_PEAR_PHP_BIN=/opt/local/bin/php | |
#export PATH=/opt/local/lib/php/pear/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment