Description
php-build is a utility for building versions of PHP to use them side by side with each other. The overall structure is loosly borrowed from Sam Stephenson's ruby-build.
PHP Build alternatives and similar libraries
Based on the "PHP Installation" category.
Alternatively, view PHP Build alternatives based on common mentions on social networks and blogs.
-
PHP OSX
DEPRECATED: 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
InfluxDB - Purpose built for real-time analytics at any scale.
* 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 Build or a related project?
README
php-build
php-build is a utility for building versions of PHP to use them side by side with each other. The overall structure is loosly borrowed from Sam Stephenson's ruby-build.
Overview
Installation
As phpenv
plugin
With phpenv via installer
It's the standard way: installs phpenv
in $HOME/.phpenv (default
$PHPENV_ROOT value).
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer \
| bash
See more on https://github.com/phpenv/phpenv-installer: install phpenv + php-build/php-build (and other plugins), updating all of them when you want to!
With phpenv
manually
Locate your phpenv directory:
% ls $HOME/.phpenv
Clone the Git repository into phpenv plugins directory:
% git clone https://github.com/php-build/php-build.git $HOME/.phpenv/plugins/php-build
Now you can use php-build as phpenv plugin, as follows:
% phpenv install <definition>
The built version will be installed into $HOME/.phpenv/versions/<definition>
.
As standalone php-build
Clone the Git Repository:
% git clone https://github.com/php-build/php-build.git
Then go into the extracted/cloned directory and run:
% ./install.sh
This installs php-build
to the default prefix /usr/local
.
To install php-build to an other location than /usr/local
set the PREFIX
environment variable:
% PREFIX=$HOME/local ./install.sh
If you don't have permissions to write to the prefix, then you have to run
install.sh
as superuser, either via su -c
or via sudo
.
Contributing
Issue reports and pull requests are always welcome.
- Freenode channel:
#php-build
- Google group: https://groups.google.com/forum/#!forum/php-build-developers
All contributions will be reviewed and merged by the core team:
See [CONTRIBUTING.md](CONTRIBUTING.md).
Changelog
See [CHANGELOG.md](CHANGELOG.md).
License
php-build is released under the [MIT License][license].
*Note that all licence references and agreements mentioned in the PHP Build README section above
are relevant to that project's source code only.