Skip to content

Instantly share code, notes, and snippets.

@ronanchilvers
ronanchilvers / gist:eff6306806c92b10a5bc777828e913f7
Last active April 24, 2018 20:51
Install phpenv on ubuntu
# 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