Skip to content

Instantly share code, notes, and snippets.

@byplayer
Created May 1, 2012 09:01
Show Gist options
  • Save byplayer/2566584 to your computer and use it in GitHub Desktop.
Save byplayer/2566584 to your computer and use it in GitHub Desktop.
curl https://raw.github.com/byplayer/phpenv/master/bin/phpenv-install.sh | sh
# add .zshrc
export PATH="/Users/dataich/.phpenv/bin:$PATH"
eval "$(phpenv init -)"
# php build
git clone https://[email protected]/byplayer/php-build.git
cd php-build
env PREFIX="$HOME/bin/php-build" ./install.sh
export PATH=$HOME/bin/php-build/bin:$PATH
# check version which you can install
php-build --definitions
php-build 5.3.8 ~/.phpenv/versions/5.3.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment