View gist:eff6306806c92b10a5bc777828e913f7
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
# Steps for installing phpenv | |
# Install dependencies | |
sudo apt-get install build-essential autoconf git bison re2c pkg-config libbz2-dev libcurl4-openssl-dev libxml2-dev libssl-dev libjpeg9-dev libpng-dev libmysqlclient-dev libmcrypt-dev libreadline-dev libtidy-dev libxslt-dev | |
# Install phpenv | |
git clone git://github.com/madumlao/phpenv.git ~/.phpenv | |
echo 'export PATH="$HOME/.phpenv/bin:$PATH"' >> ~/.bash_profile | |
exec $SHELL -l |