Skip to content

Instantly share code, notes, and snippets.

View gist:eff6306806c92b10a5bc777828e913f7
# 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