PHP Env alternatives and similar libraries
Based on the "PHP Installation" category.
Alternatively, view PHP Env alternatives based on common mentions on social networks and blogs.
6.2 6.6 PHP Env VS PHP BuildBuilds PHP so that multiple versions can be used side by side.
4.1 0.0 L3 PHP Env VS PHP OSXDEPRECATED: See https://php-osx.liip.ch/ for details. The uploader and website for the PHP 5 package for OS X 10.6 built with https://github.com/liip/build-entropy-php
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PHP Env or a related project?
Sets up a separate rbenv environment for PHP
phpenv-install.sh UPDATE=yes phpenv-install.sh
phpenv-install.sh command sets up a separate rbenv
environment for usage with PHP. This environment is
stored in the
$HOME/.phpenv directory and contains
phpenv executable which sets the
environment variable to
To install PHP versions, just put them to the
directory. You can use php-build
to do this with one command:
$ php-build -i development 5.4.9 $HOME/.phpenv/versions/5.4.9 $ phpenv versions 5.4.9 $ phpenv rehash $ phpenv global 5.4.9 $ php --version PHP 5.4.9 (cli) (built: Nov 25 2012 17:27:10) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
phpenv-install.sh command has an optional
"update" mode which updates the
the latest source code from the rbenv repository
and creates a new
This mode is triggered by setting the
UPDATE environment variable before
phpenv-install.sh, for example:
$ UPDATE=yes phpenv-install.sh
Finally, enable phpenv in your shell by adding
$HOME/.phpenv/shims to your
PATH and adding
eval "$(phpenv init -)"
$HOME/.bashrc (or your shell's
respective file) and restart your shell.
For rbenv users: Make sure that
~/.rbenv/bintakes precedence in the
~/.phpenv/binby placing it before, so
rbenvgets used from
You need to have
gitinstalled to run the
*Note that all licence references and agreements mentioned in the PHP Env README section above are relevant to that project's source code only.