rbenv based version managment for PHP.
This is a small install script which sets up rbenv in a separate directory for PHP versioning.
You need Git installed.
Clone this repository and run the
install.sh on your shell.
~/.phpenv/bin to your
PATH and add
eval $(phpenv init -)
For rbenv users: Make sure that
~/.rbenv/bin takes precedence
~/.phpenv/bin by placing it before, so
After that, the
phpenv command should be available.
phpenv command is exactly the same as
rbenv except it operates
To install versions just drop them to the
directory, just like in
For convenienve you can use php-build to do this with one command:
$ php-build 5.3.8 ~/.phpenv/versions/5.3.8
Please see the rbenv Project for documentation.
Thank you Sam Stephenson for creating