Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Builds PHP so that multiple versions can be used side by side.

License

NotificationsYou must be signed in to change notification settings

nko2/php-build

 
 

Repository files navigation

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'sruby-build.

Do you like php-build? You can buy me a beer byGittipp-ing. Consider also Gittipp-ing one of the awesomecontributors.

Overview

Installation

Install standalone php-build

Clone the Git Repository:

% git clone git://github.com/php-build/php-build.git

Then go into the extracted/cloned directory and run:

% ./install.sh

This installsphp-build to the default prefix/usr/local.

To install php-build to an other location than/usr/local set thePREFIXenvironment variable:

% PREFIX=$HOME/local ./install.sh

If you don't have permissions to write to the prefix, then you have to runinstall.sh as superuser, either viasu -c or viasudo.

Install withphpenv

Locate your phpenv directory:

% ls $HOME/.phpenv

Clone the Git repository into phpenv plugins directory:

% git clone git://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>.

Contributing

Issue reports and pull requests are always welcome.

All contributions will be reviewed and merged by the core team:

SeeCONTRIBUTING.md.

Changelog

SeeCHANGELOG.md.

License

php-build is released under theMIT License.

About

Builds PHP so that multiple versions can be used side by side.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell87.5%
  • Roff12.5%

[8]ページ先頭

©2009-2025 Movatter.jp