mirror of
https://github.com/php/pecl-virtualization-libvirt.git
synced 2026-03-26 16:22:06 +01:00
42 lines
1.9 KiB
HTML
42 lines
1.9 KiB
HTML
<!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>
|