diff --git a/reference/yaz/configure.xml b/reference/yaz/configure.xml index 4ae713a34f..d8279bcd7b 100644 --- a/reference/yaz/configure.xml +++ b/reference/yaz/configure.xml @@ -1,32 +1,79 @@ - +
&reftitle.install; - Compile YAZ (ANSI/NISO Z39.50 support) and install it. - Build PHP with your favourite modules and add option - . - Your task is roughly the following: + Obtain YAZ (ANSI/NISO Z39.50 support) and install it. + YAZ can be fetched in source or in various prebuilt packages + from the YAZ archive. + Systems such as Debian GNU/Linux, Suse Linux, FreeBSD also has YAZ + as part of their distribution. - - YAZ compilation - ---with-yaz[=DIR]. + + + YAZ compilation for PHP4 on Unix + + - - + + + + For PHP5, the YAZ extension is in PECL + and is installed as a shared object/dll. + If you have pear installed the easiest way to download, configure and + install the YAZ extension is by using the pear command. + + Installation of PECL YAZ on GNU/Debian Linux + + + On a Debian GNU/Linux system the following installs YAZ and PECL YAZ: + command usually suffice: + + + + + + + On Windows, php_yaz.dll depend on + yaz.dll. The yaz.dll + is part of the Win32 ZIP from the PHP site. It is also part + of the Windows YAZ install available from the + YAZ WIN32 area. + + + + The PHP 5.0.5 Win32 zip includes a too old version of + yaz.dll (version 1.9.1 < required version 2.0.13). + If that's the case use the yaz.dll from a newer + YAZ WIN32 install. + + + + + On windows, copy yaz.dll to a directory in your + PATH environment + (c:\winnt\system32 or + c:\windows\system32). + + If you are using YAZ as a shared extension, add (or uncomment) the following line in &php.ini; on Unix: @@ -38,15 +85,6 @@ make install extension=php_yaz.dll - - On Windows, php_yaz.dll depend on - yaz.dll. You'll find yaz.dll - in sub directory dlls in the Win32 zip archive. - Copy yaz.dll to a directory in your - PATH environment - (c:\winnt\system32 or - c:\windows\system32). - &warn.imaprecodeyaz;