mirror of
https://github.com/php/pecl-virtualization-libvirt.git
synced 2026-03-27 00:32:08 +01:00
68 lines
1.8 KiB
XML
68 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision: 1.28 $ -->
|
|
|
|
<chapter xml:id="libvirt.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.setup;
|
|
|
|
<section xml:id="libvirt.requirements">
|
|
&reftitle.required;
|
|
<!-- Use &no.requirement; if there no requirement -->
|
|
<para>
|
|
Libvirt is required. Version 0.6.2 and greater are tested and should work. Version prior to 0.6.2 are not supported and using phplibvirt with libvirt prior to 0.6.2 will probably cause problems. Phplibvirt will refuse to connect to libvirt if the version is not at least 0.6.2.
|
|
</para>
|
|
</section>
|
|
|
|
<!-- {{{ Installation -->
|
|
<section xml:id="libvirt.installation">
|
|
&reftitle.install;
|
|
<para>
|
|
This ZEND extension uses default instaltion method via phpize. All you need to do is download the source code and compile it using:
|
|
<screen>
|
|
<![CDATA[
|
|
#phpize
|
|
#./configure --enable-libvirt
|
|
#make clean all
|
|
]]>
|
|
</screen>
|
|
This will create <filename>modules/libvirt.so</filename> which you can copy to your modules directory or use
|
|
<screen>
|
|
<![CDATA[
|
|
#make install
|
|
]]>
|
|
</screen>
|
|
Now you need to enable the extension in your <filename>php.ini</filename>:
|
|
<screen>
|
|
<![CDATA[
|
|
extension=libvirt.so
|
|
]]>
|
|
</screen>
|
|
</para>
|
|
</section>
|
|
<!-- or &reference.libvirt.configure; -->
|
|
<!-- }}} -->
|
|
|
|
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|