-
Notifications
You must be signed in to change notification settings - Fork 1
/
build_system.html
120 lines (101 loc) · 6.29 KB
/
build_system.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Using the PHP build system — PHP Internals Book</title>
<link rel="stylesheet" href="_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/style.css" type="text/css" />
<link rel="stylesheet" href="_static/print.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/theme_extras.js"></script>
<link rel="top" title="PHP Internals Book" href="index.html" />
<link rel="next" title="Building PHP" href="build_system/building_php.html" />
<link rel="prev" title="Introduction" href="introduction.html" />
</head>
<body>
<div class="header"><h1 class="heading"><a href="index.html">
<span>PHP Internals Book</span></a></h1>
<h2 class="heading"><span>Using the PHP build system</span></h2>
</div>
<div class="topnav">
<p>
«  <a href="introduction.html">Introduction</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="build_system/building_php.html">Building PHP</a>  »
</p>
</div>
<div class="content">
<div class="section" id="using-the-php-build-system">
<h1>Using the PHP build system<a class="headerlink" href="#using-the-php-build-system" title="Permalink to this headline">¶</a></h1>
<p>In this chapter we’ll explain how to use the PHP build system to compile both itself and additional extensions. This
chapter will not yet be concerned with writing your own autoconf build instructions and only explain how to use the
tooling.</p>
<p>Contents:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="build_system/building_php.html">Building PHP</a><ul>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#why-not-use-packages">Why not use packages?</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#obtaining-the-source-code">Obtaining the source code</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#build-overview">Build overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#the-buildconf-script">The <tt class="docutils literal"><span class="pre">./buildconf</span></tt> script</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#the-configure-script">The <tt class="docutils literal"><span class="pre">./configure</span></tt> script</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#make-and-make-install"><tt class="docutils literal"><span class="pre">make</span></tt> and <tt class="docutils literal"><span class="pre">make</span> <span class="pre">install</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#running-the-test-suite">Running the test suite</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_php.html#fixing-compilation-problems-and-make-clean">Fixing compilation problems and <tt class="docutils literal"><span class="pre">make</span> <span class="pre">clean</span></tt></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="build_system/building_extensions.html">Building PHP extensions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_extensions.html#loading-shared-extensions">Loading shared extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_extensions.html#installing-extensions-from-pecl">Installing extensions from PECL</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_extensions.html#adding-extensions-to-the-php-source-tree">Adding extensions to the PHP source tree</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_extensions.html#building-extensions-using-phpize">Building extensions using <tt class="docutils literal"><span class="pre">phpize</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="build_system/building_extensions.html#displaying-information-about-extensions">Displaying information about extensions</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="bottomnav">
<p>
«  <a href="introduction.html">Introduction</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="build_system/building_php.html">Building PHP</a>  »
</p>
</div>
<div class="footer feedback">
Send feedback to <a href="mailto:feedback@phpinternalsbook.com">feedback@phpinternalsbook.com</a>
</div>
<div class="footer">
© Copyright 2013, Julien Pauli - Anthony Ferrara - Nikita Popov.
</div>
<div class="footer feedback">
All Rights Reserved
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41617167-1', 'phpinternalsbook.com');
ga('send', 'pageview');
</script>
</body>
</html>