Anda di halaman 1dari 6

Senayan Library Management Software

SLIMS 5 Meranti

YAZ configuration for windows

Prepared by
A.K.M. Nurul Alam (Apu)
Email: nalamapu[at]gmail[dot]com
nalam_apu[at]yahoo[dot]com
www.facebook.com/nalam.apu

Special Thanks
to
Arie Nugraha
Arif Symsuddin
Indra Sutriadi Pipii (Abu Fatin)

May 30 2012
Dhaka, Bangladesh

YAZ configuration for windows

System
XAMPP
PHP
YAZ

: Windows XP (SP-2)
: Version 1.7.7
: Version 5.3.8
: Version 4.2.28

Step 1:
Download php_yaz.dll first according to your php version. To know your php version, run the
xampp (Apache and mysql), go to localhost and click phpinfo() and it shows version no. like this.

Our Brother Indra Sutriadi Pipii (Abu Fatin) has compiled this module for different version of php.
To download php 5.3.8 click here. For php 5.3.13 click here. For php 5.4.3 click here.
Step 2:
Now Download YAZ toolkit for z39.50 windows version from here
http://ftp.indexdata.dk/pub/yaz/win32/
All the versions are available there; just download the version 4.2.28 (though the latest version is 4.2.33)
Step 3:
Install YAZ toolkit

Dont forget to
select YAZ
Development

Page 2 of 6

Step 4:
Go to the bin folder of YAZ installation directory like this Start>All Programmes>YAZ>YAZ
Programme Directory and then open the bin folder.
Select the following files
iconv.dll, libxml2.dll, libxslt.dll, yaz4.dll, zlib1.dll

Select
and
Copy
these
files

Paste them to the bin folder of apache directory (C:/xampp/apache/bin)

Paste here

Paste the files to the Windows folder of C Drive too.

Page 3 of 6

Step 5:
Open the System Properties by clicking the right button of mouse on My Computer. (Like below)

Go to Advanced Tab and click Environment Variables

Select Path under System variable and click Edit; add the path of bin folder of yaz (C:\Program
Files\YAZ\bin;).

Click OK, OK, OK (in all the three boxes) and finish the step.

Page 4 of 6

Step 6:
Check your php whether thread safety is enabled or not. To check go again to phpinfo(). If
thread Safety is on use php_yaz_ts.dll file, but, in case of thread safety off use php_yaz_nts.dll

Unzip the downloaded file of step 1 (php_yaz-X.X.XX.zip).


Copy php_yaz_ts.dll/php_yaz_nts.dll and paste to \xampp\php\ext folder. It is good idea to
rename the file to php_yaz.dll
Open php.ini file from \xampp\php and go to Dynamic Extensions area.
Add extension=php_yaz.dll
Save and Close the file.
Step 7:
Now restart your server and hopefully, if everything is ok, your yaz module is activated to use z39.50
module from SLIMS5 to grab bibliographic data from other libraries to you.
To check whether yaz is activated again go to phpinfo() and scroll down. It will look like:

Page 5 of 6

References:
http://sutriadi.web.id/node/10
http://dicarve.blogspot.com/2009/07/instalasi-library-yaz-di-php.html
http://slims.web.id/web/

Downloads:
XAMPP
http://www.apachefriends.org/en/xampp-windows.html#641
YAZ
http://ftp.indexdata.dk/pub/yaz/win32/
Total YAZ solution package can be downloaded from
http://www.mediafire.com/?m2c4iw20cp263m3

Thank You

Page 6 of 6

Anda mungkin juga menyukai