3. Mac OS X

Linux is not the only open source operating system of the Unix family. Mac OS X, the latest system from Apple, is partially based on Unix.

3.1. Using MAMP

MAMP is an Apache 2, PHP, MySQL package available at www.mamp.info.

To install PMB on MAMP, unzip the PMB archive into Applications/MAMP/htdocs.

When installing the database, specify :

user mysql : root

password : root

server : 127.0.0.1:8889

database : bibli

For the rest, consult the general information on installation.

Note : MAMP is distributed with the YAZ extension (z39.50) for Mac activated in PHP4. Cataloguing with z39.50 is immediately available for PMB users on MAMP, no further configuration needed.

3.2. Using the Apache and PHP distribution supplied with Mac OS X

Go to System Preferences, then Share, and activate Web sharing. The files found in /Library/Webserver/Documents correspond to files accessible by PMB : extract the PMB archive downloaded on www.sigb.net in this directory.

MySQL is not supplied with Mac OS X. You will find a MySQL version at www.mysql.com.

Once the PMB files have been extracted, you need to configure the PMB database. To do this, start your browser, Safari for example, and go to the address http://localhost/pmb/tables/install.php.

PMB is accessible from now on at http://localhost/pmb.

3.3. Activating YAZ on Mac OS X

You can download the file yaz.so available at http://www.sigb.net/mac and install it in the PHP directory of your machine. In your php.ini, in the section extensions, add the line extension=yaz.so and restart your Apache server to activate it. To do this, go to System Preferences, Share; deactivate Web sharing and activate it once again.