Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 2.1 KB

INSTALL-XAMPP.md

File metadata and controls

35 lines (28 loc) · 2.1 KB

Install Notes for Windows with XAMPP

It may be handy to install the tools on windows for testing and/or developing. For such purposes you can install and run the tools in cominbation with XAMPP.

  1. Install XAMPP, e.g. in the folder C:\xampp\
  2. Clone malibu in the htdocs subfolder
  3. Download jQuery and clipboard.js and place them in .\htdocs\malibu\isbn
  4. Install yaz for windows and make sure that the bin directory of YAZ is part of the PATH environment variable.
  5. Download php_yaz.dll (and possibly the other dll's) from IndexData
  6. Copy php_yaz.dll (and possibly the other dll's) into .\php\ext
  7. Open .\php\php.ini and add this line
extension=php_yaz.dll

and also check that extension=php_openssl.dll is activated. 8. Copy isbn\conf.example.php to isbn\conf.php and copy isbn\paketinfo.example.js to isbn\paketinfo.js and costumize the values 9. Start XAMPP 10. Open localhost/malibu in your browser

Remarks

It is also possible to copy the dll's from the yaz directory to the apache\bin directory and then you don't need to bother about the path environment variable and you can even deinstall yaz again, cf. https://blog.verweisungsform.de/2009-08-17/yaz-php-apache-und-windows/.

Some components are available for 64-bit and/or x86 (32-bit) architecture. It is important that you use the compatible versions for all components, e.g. only use x86-architecture versions.

For me the following components are working together:

  • XAMPP 3.2.2 with PHP 7.0.8 (only available on x86-architecture)
  • yaz 5.15.2 for x86-architectures
  • php_yaz.dll for x86-architectures

Anyway, it seems that the same functionality on windows can be achieved with docker and we should concentrate on that way. 😎