[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
dickmeiss Thu Jul 6 06:21:42 2006 UTC Modified files: /phpdoc/en/reference/yazconfigure.xml Log: Fix Unix SO filename http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/yaz/configure.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.13 phpdoc/en/reference/yaz/configure.xml:1.14 --- phpdoc/en/reference/yaz/configure.xml:1.13 Wed Nov 30 07:56:16 2005 +++ phpdoc/en/reference/yaz/configure.xml Thu Jul 6 06:21:41 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- section id=yaz.installation reftitle.install; para @@ -76,7 +76,7 @@ If you are using YAZ as a shared extension, add (or uncomment) the following line in php.ini; on Unix: screen - extension=php_yaz.so + extension=yaz.so /screen And for Windows: screen
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
dickmeiss Wed Nov 30 02:56:16 2005 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: Rephrase http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/configure.xml?r1=1.12r2=1.13ty=u Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.12 phpdoc/en/reference/yaz/configure.xml:1.13 --- phpdoc/en/reference/yaz/configure.xml:1.12 Sat Nov 12 18:27:44 2005 +++ phpdoc/en/reference/yaz/configure.xml Wed Nov 30 02:56:16 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- section id=yaz.installation reftitle.install; para @@ -41,8 +41,8 @@ titleInstallation of PECL YAZ on GNU/Debian Linux/title para /para - paraOn a Debian GNU/Linux system the following installs YAZ and PECL YAZ: - commands usually suffice: + para + On a Debian GNU/Linux system the following installs YAZ and PECL YAZ: /para programlisting role=shell ![CDATA[
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
nlopess Sat Nov 12 18:27:46 2005 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: remove the advise to copy files to the windows systems folders http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/configure.xml?r1=1.11r2=1.12ty=u Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.11 phpdoc/en/reference/yaz/configure.xml:1.12 --- phpdoc/en/reference/yaz/configure.xml:1.11 Thu Nov 3 02:24:46 2005 +++ phpdoc/en/reference/yaz/configure.xml Sat Nov 12 18:27:44 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- section id=yaz.installation reftitle.install; para @@ -68,10 +68,8 @@ /warning para - On windows, copy filenameyaz.dll/filename to a directory in your - varnamePATH/varname environment - (filename class=directoryc:\winnt\system32/filename or - filename class=directoryc:\windows\system32/filename). + On windows, don't forget to add the PHP directory to the PATH, so that the + filenameyaz.dll/filename file can be found by the system. /para para
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
dickmeiss Wed Nov 2 15:47:21 2005 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: Added more installation examples + more information about win32 install - including a notice about bad YAZ versions. http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/configure.xml?r1=1.9r2=1.10ty=u Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.9 phpdoc/en/reference/yaz/configure.xml:1.10 --- phpdoc/en/reference/yaz/configure.xml:1.9 Wed Dec 31 10:25:24 2003 +++ phpdoc/en/reference/yaz/configure.xml Wed Nov 2 15:47:20 2005 @@ -1,32 +1,79 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- section id=yaz.installation reftitle.install; para - Compile YAZ (ANSI/NISO Z39.50 support) and install it. - Build PHP with your favourite modules and add option - option role=configure--with-yaz[=DIR]/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 ulink url=url.yaz.ftp;YAZ archive/ulink. + Systems such as Debian GNU/Linux, Suse Linux, FreeBSD also has YAZ + as part of their distribution. /para para - example - titleYAZ compilation/title - programlisting role=shell -![CDATA[ -gunzip -c php-4.3.X.tar.gz|tar xf - -gunzip -c yaz-2.0.tar.gz|tar xf - -cd yaz-2.0 + For the PHP4 series, the YAZ extension is bundled (but not YAZ itself) + Build PHP with your favorite modules and add option + option role=configure--with-yaz[=DIR]/option. + /para + example + titleYAZ compilation for PHP4 on Unix/title + programlisting role=shell + ![CDATA[ +gunzip -c php-4.4.X.tar.gz|tar xf - +gunzip -c yaz-2.1.8.tar.gz|tar xf - +cd yaz-2.1.8 ./configure --prefix=/usr make -make install -cd ../php-4.3.X. +sudo make install +cd ../php-4.4.X. ./configure --with-yaz=/usr/bin make -make install +sudo make install ]] - /programlisting - /example + /programlisting + /example + para + For PHP5, the YAZ extension is in ulink url=url.pecl;PECL/ulink + 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 commandpear/command command. + /para + example + titleInstallation of PECL YAZ on GNU/Debian Linux/title + para + /para + paraOn a Debian GNU/Linux system the following installs YAZ and PECL YAZ: + command usually suffice: + /para + programlisting role=shell +![CDATA[ +sudo apt-get install libyaz-dev +sudo pear install yaz +]] + /programlisting + /example + para + On Windows, filenamephp_yaz.dll/filename depend on + filenameyaz.dll/filename. The filenameyaz.dll/filename + is part of the Win32 ZIP from the PHP site. It is also part + of the Windows YAZ install available from the + ulink url=url.yaz.ftp.win32;YAZ WIN32 area/ulink. + /para + warning + para + The PHP 5.0.5 Win32 zip includes a too old version of + filenameyaz.dll/filename (version 1.9.1 required version 2.0.13). + If that's the case use the filenameyaz.dll/filename from a newer + ulink url=url.yaz.ftp.win32;YAZ WIN32 install/ulink. + /para + /warning + + para + On windows, copy filenameyaz.dll/filename to a directory in your + varnamePATH/varname environment + (filename class=directoryc:\winnt\system32/filename or + filename class=directoryc:\windows\system32/filename). /para + para If you are using YAZ as a shared extension, add (or uncomment) the following line in php.ini; on Unix: @@ -38,15 +85,6 @@ extension=php_yaz.dll /screen /para - para - On Windows, filenamephp_yaz.dll/filename depend on - filenameyaz.dll/filename. You'll find filenameyaz.dll/filename - in sub directory filenamedlls/filename in the Win32 zip archive. - Copy filenameyaz.dll/filename to a directory in your - varnamePATH/varname environment - (filename class=directoryc:\winnt\system32/filename or - filename class=directoryc:\windows\system32/filename). - /para warn.imaprecodeyaz;
Re: [PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
Hello Adam, Adam Dickmeiss wrote: [...] + para + The PHP 5.0.5 Win32 zip includes a too old version of + filenameyaz.dll/filename (version 1.9.1 required version 2.0.13). + If that's the case use the filenameyaz.dll/filename from a newer + ulink url=url.yaz.ftp.win32;YAZ WIN32 install/ulink. + /para + /warning + + para + On windows, copy filenameyaz.dll/filename to a directory in your + varnamePATH/varname environment + (filename class=directoryc:\winnt\system32/filename or + filename class=directoryc:\windows\system32/filename). /para AFAIR we decided to encourage people NOT to copy support dlls to the system folders. We should be consistent (some parts of the manual are not) and advice people to put this dlls in the main folder, e.g.: c:\php and add this directory to their path environment variable. Regards Friedhelm
Re: [PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
Hello Adam, Adam Dickmeiss wrote: [...] + para + The PHP 5.0.5 Win32 zip includes a too old version of + filenameyaz.dll/filename (version 1.9.1 required version 2.0.13). + If that's the case use the filenameyaz.dll/filename from a newer + ulink url=url.yaz.ftp.win32;YAZ WIN32 install/ulink. + /para + /warning + + para + On windows, copy filenameyaz.dll/filename to a directory in your + varnamePATH/varname environment + (filename class=directoryc:\winnt\system32/filename or + filename class=directoryc:\windows\system32/filename). /para AFAIR we decided to encourage people NOT to copy support dlls to the system folders. We should be consistent (some parts of the manual are not) and advice people to put this dlls in the main folder, e.g.: c:\php and add this directory to their path environment variable. Regards Friedhelm Yep! Although some configure.xml files may still advise to copy the files to the windows folders, that it highly discoraged (and those pages should be fixed). Please change the above paragraph to mention that the PHP dir should be in the path (and then point to the relevant faq: faq.installation.addtopath). Thanks, Nuno
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
jsgoupilThu Nov 3 02:24:46 2005 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: separate php version from PHP word + fix to lt; http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/configure.xml?r1=1.10r2=1.11ty=u Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.10 phpdoc/en/reference/yaz/configure.xml:1.11 --- phpdoc/en/reference/yaz/configure.xml:1.10 Wed Nov 2 15:47:20 2005 +++ phpdoc/en/reference/yaz/configure.xml Thu Nov 3 02:24:46 2005 @@ -1,21 +1,21 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- section id=yaz.installation reftitle.install; para Obtain YAZ (ANSI/NISO Z39.50 support) and install it. YAZ can be fetched in source or in various prebuilt packages - from the ulink url=url.yaz.ftp;YAZ archive/ulink. + from the ulink url=url.yaz.ftp;YAZ archive/ulink. Systems such as Debian GNU/Linux, Suse Linux, FreeBSD also has YAZ as part of their distribution. /para para - For the PHP4 series, the YAZ extension is bundled (but not YAZ itself) + For the PHP 4 series, the YAZ extension is bundled (but not YAZ itself) Build PHP with your favorite modules and add option option role=configure--with-yaz[=DIR]/option. /para example - titleYAZ compilation for PHP4 on Unix/title + titleYAZ compilation for PHP 4 on Unix/title programlisting role=shell ![CDATA[ gunzip -c php-4.4.X.tar.gz|tar xf - @@ -32,7 +32,7 @@ /programlisting /example para - For PHP5, the YAZ extension is in ulink url=url.pecl;PECL/ulink + For PHP 5, the YAZ extension is in ulink url=url.pecl;PECL/ulink 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 commandpear/command command. @@ -42,7 +42,7 @@ para /para paraOn a Debian GNU/Linux system the following installs YAZ and PECL YAZ: - command usually suffice: + commands usually suffice: /para programlisting role=shell ![CDATA[ @@ -61,7 +61,7 @@ warning para The PHP 5.0.5 Win32 zip includes a too old version of - filenameyaz.dll/filename (version 1.9.1 required version 2.0.13). + filenameyaz.dll/filename (version 1.9.1 lt; required version 2.0.13). If that's the case use the filenameyaz.dll/filename from a newer ulink url=url.yaz.ftp.win32;YAZ WIN32 install/ulink. /para
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
dickmeiss Wed Feb 26 11:39:07 2003 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: Notes for shared libraries and Windows Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.5 phpdoc/en/reference/yaz/configure.xml:1.6 --- phpdoc/en/reference/yaz/configure.xml:1.5 Mon Feb 24 18:37:31 2003 +++ phpdoc/en/reference/yaz/configure.xml Wed Feb 26 11:39:06 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- section id=yaz.installation reftitle.install; para @@ -25,6 +25,25 @@ ]] /programlisting /informalexample + /para + para + If you are using YAZ as a shared extension, add (or uncomment) the following + line in filenamephp.ini/filename on Unix: + screen + extension=php_yaz.so + /screen + And for Windows: + screen + extension=php_yaz.dll + /screen + /para + para + On windows, filenamephp_yaz.dll/filename depend on + filenameyaz.dll/filename. You'll find filenameyaz.dll/filename + in sub directory filenamedlls/filename in the Win32 zip archive. + Copy filenameyaz.dll/filename to a directory in your PATH environment + (filenamec:\winnt\system32/filename or + filenamec:\windows\system32/filename). /para warn.imaprecodeyaz; -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml
dickmeiss Mon Feb 24 18:37:31 2003 EDT Modified files: /phpdoc/en/reference/yazconfigure.xml Log: YAZ 2.0 Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.4 phpdoc/en/reference/yaz/configure.xml:1.5 --- phpdoc/en/reference/yaz/configure.xml:1.4 Mon Jan 20 15:21:41 2003 +++ phpdoc/en/reference/yaz/configure.xml Mon Feb 24 18:37:31 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- section id=yaz.installation reftitle.install; para @@ -13,8 +13,8 @@ programlisting role=shell ![CDATA[ gunzip -c php-4.3.X.tar.gz|tar xf - -gunzip -c yaz-1.9.Y.tar.gz|tar xf - -cd yaz-1.9.Y +gunzip -c yaz-2.0.tar.gz|tar xf - +cd yaz-2.0 ./configure --prefix=/usr make make install @@ -28,6 +28,12 @@ /para warn.imaprecodeyaz; + + note + para + The above problem is solved in version 2.0 of YAZ. + /para + /note /section -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/yaz configure.xml reference.xml /en/reference/yaz/functions yaz-addinfo.xml yaz-ccl-conf.xml yaz-ccl-parse.xml yaz-close.xml yaz-connect.xml yaz-database.xml yaz-element.xml yaz-errno.xml yaz-error.xml yaz-get-option.xml yaz-itemorder.xml yaz-present.xml yaz-range.xml yaz-record.xml yaz-scan-result.xml yaz-scan.xml yaz-schema.xml yaz-search.xml yaz-set-option.xml yaz-sort.xml yaz-syntax.xml
dickmeiss Thu Jan 16 04:44:50 2003 EDT Added files: /phpdoc/en/reference/yaz/functions yaz-get-option.xml yaz-schema.xml yaz-set-option.xml Modified files: /phpdoc/en/reference/yazconfigure.xml reference.xml /phpdoc/en/reference/yaz/functions yaz-addinfo.xml yaz-ccl-conf.xml yaz-ccl-parse.xml yaz-close.xml yaz-connect.xml yaz-database.xml yaz-element.xml yaz-errno.xml yaz-error.xml yaz-itemorder.xml yaz-present.xml yaz-range.xml yaz-record.xml yaz-scan-result.xml yaz-scan.xml yaz-search.xml yaz-sort.xml yaz-syntax.xml Log: Documentation of yaz_set_option, yaz_get_option and yaz_schema. More examples for searching as well as CCL. Pointers to More Z39.50 related links. Connection ID is resource - rather than integer. Index: phpdoc/en/reference/yaz/configure.xml diff -u phpdoc/en/reference/yaz/configure.xml:1.2 phpdoc/en/reference/yaz/configure.xml:1.3 --- phpdoc/en/reference/yaz/configure.xml:1.2 Fri Jan 10 20:15:30 2003 +++ phpdoc/en/reference/yaz/configure.xml Thu Jan 16 04:44:49 2003 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- section id=yaz.installation reftitle.install; para - Compile YAZ (ANSI/NISO Z39.50) and install it. Build PHP with your favourite - modules and add option + Compile YAZ (ANSI/NISO Z39.50 support) and install it. + Build PHP with your favourite modules and add option option role=configure--with-yaz[=DIR]/option. Your task is roughly the following: /para @@ -12,13 +12,13 @@ informalexample programlisting role=shell ![CDATA[ -gunzip -c yaz-1.6.tar.gz|tar xf - -gunzip -c php-4.0.X.tar.gz|tar xf - -cd yaz-1.6 +gunzip -c php-4.3.X.tar.gz|tar xf - +gunzip -c yaz-1.9.Y.tar.gz|tar xf - +cd yaz-1.9.Y ./configure --prefix=/usr make make install -cd ../php-4.0.X +cd ../php-4.3.X. ./configure --with-yaz=/usr/bin make make install Index: phpdoc/en/reference/yaz/reference.xml diff -u phpdoc/en/reference/yaz/reference.xml:1.5 phpdoc/en/reference/yaz/reference.xml:1.6 --- phpdoc/en/reference/yaz/reference.xml:1.5 Mon Dec 2 07:55:45 2002 +++ phpdoc/en/reference/yaz/reference.xml Thu Jan 16 04:44:49 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- reference id=ref.yaz titleYAZ functions/title titleabbrevYAZ/titleabbrev @@ -9,15 +9,16 @@ reftitle.intro; para This extension offers a PHP interface to the - productnameYAZ/productname toolkit that implements the Z39.50 - protocol for information retrieval. With this extension you can easily - implement a Z39.50 origin (client) that searches or scans Z39.50 - targets (servers) in parallel. + productnameYAZ/productname toolkit that implements the + ulink url=url.yaz-loc;Z39.50 + Protocol for Information Retrieval/ulink. + With this extension you can easily implement a Z39.50 origin (client) + that searches or scans Z39.50 targets (servers) in parallel. /para para The module hides most of the complexity of Z39.50 so it should be fairly easy to use. It supports persistent stateless connections very - similar to those offered by the various SQL APIs that are available + similar to those offered by the various RDB APIs that are available for PHP. This means that sessions are stateless but shared amongst users, thus saving the connect and initialize phase steps in most cases. @@ -48,8 +49,8 @@ reftitle.examples; para PHP/YAZ keeps track of connections with targets - (Z-Associations). A positive integer represents the ID of a - particular association. + (Z-Associations). A resource represents a connection to a + target. /para para example @@ -57,8 +58,8 @@ simpara The script below demonstrates the parallel searching feature of the API. When invoked with no arguments it prints a query form; else - (arguments are supplied) it searches the targets as given in in array - host. + (arguments are supplied) it searches the targets as given in array + literalhost/literal. /simpara programlisting role=php ![CDATA[ @@ -72,8 +73,8 @@ name=host[] value=localhost:/Default local test input type=checkbox checked=1 -name=host[] value=z3950.bell-labs.com/books -BELL Labs Library +name=host[] value=z3950.loc.gov:7090/voyager +