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
  
     | 
    
      <?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 317663 $ -->
<section xml:id="judy.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.install;
 <para>
  &pecl.moved;
 </para>
 <para xml:id="judy.pecl">
  &pecl.info;
  <link xlink:href="&url.pecl.package;judy">&url.pecl.package;judy</link>
 </para>
 <para xml:id="judy.pecl.win">
  The latest PECL/judy Win32 DLL is available here:
  <link xlink:href="&url.pecl.win.ext;php_judy.dll">php_judy.dll</link>
 </para>
 <section xml:id="judy.install.linux">
  <title>Installation on Linux Systems</title>
  <section>
   <title>From sources</title>
   <para>
    Download and install <link xlink:href="http://judy.sourceforge.net">libJudy</link>, then :
    <programlisting>
     phpize
     ./configure --with-judy[=DIR]
     make
     make test
     make install
    </programlisting>
   </para>
  </section>
  <section>
   <title>Ubuntu/Debian</title>
   <para>
    libJudy can be installed with apt-get :
    <programlisting>
    apt-get install libjudydebian1 libjudy-dev
    </programlisting>
    Then by installing the Judy extension from PECL or from the sources. 
   </para>
  </section>
 </section>
 <section xml:id="judy.install.windows">
  <title>Installation on Windows Systems</title>
  <para>
   Download <link xlink:href="http://judy.sourceforge.net">libJudy</link>, then 
   extract the sources and open the Visual Studio command prompt and navigate to 
   the source directory. Then execute :
   <programlisting>build</programlisting>
   This creates "Judy.lib", copy this into the php-sdk library folder and name it 
   "libJudy.lib" Then copy the include file "judy.h" into the php-sdk includes folder.
  </para>
  <para>
   Next, the PHP Judy extension can be installed from PECL or from the sources by 
   extracting the pecl/judy into your build folder where the build scripts will be 
   able to pick it up, e.g.:
   <programlisting>
    C:\php\pecl\judy\
   </programlisting>
   If your source of PHP is located in:
   <programlisting>
    C:\php\src\
   </programlisting>
   The rest of the steps is pretty straight forward, like any other external extension:
   <programlisting>
    buildconf
    configure --with-judy=shared
    nmake
   </programlisting>
  </para>
 </section>
 <section xml:id="judy.install.macos">
  <title>Installation on Mac OS X</title>
  <para>
   Download and install <link xlink:href="http://judy.sourceforge.net">libJudy</link>. 
   Then install the Judy extension from PECL or from the sources.
  </para>
 </section>
</section>
<!-- 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:"~/.phpdoc/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
-->
 
     |