It provides install
sub-command for phpenv
using php-build
.
Save rbenv-install file into $HOME/.phpenv/libexec directory.
$ phpenv install VERSION
Available versions can be checked like following.
$ php-build --definitions
This script almost taken from Sam Stephenson's rbenv-install
command in rbenv.