安装
此 » PECL 扩展未与 PHP 捆绑。
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/judy
Installation on Linux Systems
From sources
Download and install » libJudy, then :
phpize ./configure --with-judy[=DIR] make make test make install
Ubuntu/Debian
libJudy can be installed with apt-get :
apt-get install libjudydebian1 libjudy-dev
Installation on Windows Systems
Download » libJudy, then extract the sources and open the Visual Studio command prompt and navigate to the source directory. Then execute :
build
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.:
C:\php\pecl\judy\
C:\php\src\
buildconf configure --with-judy=shared nmake
Installation on macOS
Download and install » libJudy. Then install the Judy extension from PECL or from the sources.