-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
140 lines (110 loc) · 5.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<title>php-build, by php-build Team</title>
</head>
<body>
<header>
<div class="container">
<h1>php-build</h1>
<h2>Builds PHP so that multiple versions can be used in parallel.</h2>
<section id="downloads">
<a href="https://github.com/php-build/php-build/zipball/master" class="btn">Download as .zip</a>
<a href="https://github.com/php-build/php-build/tarball/master" class="btn">Download as .tar.gz</a>
<a href="https://github.com/php-build/php-build" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
</div>
</header>
<div class="container">
<section id="main_content">
<h1>
<a name="php-build" class="anchor" href="#php-build"><span class="octicon octicon-link"></span></a>php-build</h1>
<p>php-build builds multiple PHP versions from source, and this <em>fully automatic</em>.</p>
<h2>
<a name="who-uses-this" class="anchor" href="#who-uses-this"><span class="octicon octicon-link"></span></a>Who uses this?</h2>
<ul>
<li><a href="http://travis-ci.org">Travis CI</a></li>
<li><em>Maybe you?</em></li>
</ul><h2>
<a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Install</h2>
<pre><code>% git clone git://github.com/php-build/php-build
% cd php-build
% sudo ./install.sh
</code></pre>
<h2>
<a name="usage" class="anchor" href="#usage"><span class="octicon octicon-link"></span></a>Usage</h2>
<h3>
<a name="synopsis" class="anchor" href="#synopsis"><span class="octicon octicon-link"></span></a>Synopsis</h3>
<pre><code>php-build --help
php-build --definitions
php-build [-i <environment_or_inifile>] <definition> <prefix>
</code></pre>
<p>Before you can build PHP you will need all necessary build dependencies. </p>
<p>If you use <b>Ubuntu</b>:</p>
<pre><code>% sudo apt-get install libmcrypt-dev libreadline-dev
</code></pre>
<pre><code>% sudo apt-get build-dep php5-cli
</code></pre>
<p>If you use <b>macOS</b>:</p>
<ol>
<li><p>Install <a href="https://brew.sh/">Homebrew</a></p></li>
<li>
<p>Install Hombrew packages:</p>
<pre><code>% brew install pkg-config autoconf openssl icu4c re2c bison libzip mcrypt</code></pre>
</li>
<li>
<p>Specify the Homebrew library places in configure options:</p>
<pre><code>env "PATH=/usr/local/opt/bison/bin:$PATH" "PHP_BUILD_CONFIGURE_OPTS=--with-openssl=$(brew --prefix openssl) --with-libzip" phpenv install 7.0.30</code></pre>
</li>
</ol>
<p>Then run this to install PHP 5.5.9 in development configuration:</p>
<pre><code>% php-build -i development 5.5.9 ~/local/php/5.5.9
</code></pre>
<p>To get a list of all supported PHP versions pass the <code>--definitions</code> flag:</p>
<pre><code>% php-build --definitions
</code></pre>
<h2>
<a name="meet-the-core-team" class="anchor" href="#meet-the-core-team"><span class="octicon octicon-link"></span></a>Meet the core team</h2>
<ul>
<li><a href="https://github.com/GrahamCampbell">Graham Campbell</a></li>
<li><a href="https://github.com/loicfrering">Loïc Frering</a></li>
<li><a href="https://github.com/rogeriopradoj">Rogerio Prado de Jesus</a></li>
<li><a href="https://github.com/CHH">Christoph Hochstrasser</a></li>
</ul><h2>
<a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h2>
<p>The MIT License</p>
<p>Copyright (c) 2011-2015 Christoph Hochstrasser</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.</p>
</section>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6881967-3");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>