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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Installation</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="libvirt.requirements.html">Requirements</a></div>
<div class="next" style="text-align: right; float: right;"><a href="libvirt.constants.html">Predefined Constants</a></div>
<div class="up"><a href="libvirt.setup.html">Installing/Configuring</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="libvirt.installation" class="section">
<h2 class="title">Installation</h2>
<p class="para">
This ZEND extension uses default instaltion method via phpize. All you need to do is download the source code and compile it using:
<div class="example-contents screen">
<div class="cdata"><pre>
#phpize
#./configure --enable-libvirt
#make clean all
</pre></div>
</div>
This will create <var class="filename">modules/libvirt.so</var> which you can copy to your modules directory or use
<div class="example-contents screen">
<div class="cdata"><pre>
#make install
</pre></div>
</div>
Now you need to enable the extension in your <var class="filename">php.ini</var>:
<div class="example-contents screen">
<div class="cdata"><pre>
extension=libvirt.so
</pre></div>
</div>
</p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="libvirt.requirements.html">Requirements</a></div>
<div class="next" style="text-align: right; float: right;"><a href="libvirt.constants.html">Predefined Constants</a></div>
<div class="up"><a href="libvirt.setup.html">Installing/Configuring</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
|