Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8848

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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="judy.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="judy.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="judy.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="judy.installation" class="section">
 <h2 class="title">Installation</h2>

 <p class="para">
  This <a href="http://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> extension
is not bundled with PHP.
 </p>

 <p class="para" id="judy.pecl">
  Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.html" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
  <a href="http://pecl.php.net/package/judy" class="link external">&raquo;&nbsp;http://pecl.php.net/package/judy</a>
 </p>

 <p class="para" id="judy.pecl.win">
  The latest PECL/judy Win32 DLL is available here:
  <a href="http://pecl4win.php.net/ext.php/php_judy.dll" class="link external">&raquo;&nbsp;php_judy.dll</a>
 </p>

 <div class="section" id="judy.install.linux">
  <h2 class="title">Installation on Linux Systems</h2>
  <div class="section">
   <h2 class="title">From sources</h2>
   <p class="para">
    Download and install <a href="http://judy.sourceforge.net" class="link external">&raquo;&nbsp;libJudy</a>, then :
    <div class="example-contents"><div class="cdata"><pre>
     phpize
     ./configure --with-judy[=DIR]
     make
     make test
     make install
    </pre></div></div>

   </p>
  </div>
  <div class="section">
   <h2 class="title">Ubuntu/Debian</h2>
   <p class="para">
    libJudy can be installed with apt-get :
    <div class="example-contents"><div class="cdata"><pre>
    apt-get install libjudydebian1 libjudy-dev
    </pre></div></div>

    Then by installing the Judy extension from PECL or from the sources. 
   </p>
  </div>
 </div>

 <div class="section" id="judy.install.windows">
  <h2 class="title">Installation on Windows Systems</h2>
  <p class="para">
   Download <a href="http://judy.sourceforge.net" class="link external">&raquo;&nbsp;libJudy</a>, then 
   extract the sources and open the Visual Studio command prompt and navigate to 
   the source directory. Then execute :
   <div class="example-contents"><div class="cdata"><pre>build</pre></div></div>

   This creates &quot;Judy.lib&quot;, copy this into the php-sdk library folder and name it 
   &quot;libJudy.lib&quot; Then copy the include file &quot;judy.h&quot; into the php-sdk includes folder.
  </p>
  <p class="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.:
   <div class="example-contents"><div class="cdata"><pre>
    C:\php\pecl\judy\
   </pre></div></div>

   If your source of PHP is located in:
   <div class="example-contents"><div class="cdata"><pre>
    C:\php\src\
   </pre></div></div>

   The rest of the steps is pretty straight forward, like any other external extension:
   <div class="example-contents"><div class="cdata"><pre>
    buildconf
    configure --with-judy=shared
    nmake
   </pre></div></div>

  </p>
 </div>

 <div class="section" id="judy.install.macos">
  <h2 class="title">Installation on Mac OS X</h2>
  <p class="para">
   Download and install <a href="http://judy.sourceforge.net" class="link external">&raquo;&nbsp;libJudy</a>. 
   Then install the Judy extension from PECL or from the sources.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="judy.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="judy.configuration.html">Runtime Configuration</a></div>
 <div class="up"><a href="judy.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>