Chapter 4. Installation in detail

Table of Contents

Downloading and unpacking the distribution
Requirements and things to check for
Interpreter requirements
Database requirements
Name space requirements
Installation procedure
Library Setup
Database access with MySQL
Merging PHPlib with your PHP files
Using include() instead of auto_prepend_file=
Using PHPlib with mod_php (Apache module)

The base library is available from http://phplib.sf.net/. Two different formats are provided: A tar.gz version and a shar version.

If you are on a windows system, you can use phplib.tar.gz, if you have WinZIP installed. Current versions of WinZIP know how to handle compressed tar archives. The uncompressed files may be installed on your windows system or transferred to your Unix system.

If you can't handle binary files, you may download phplib.shar. This is a pure ASCII file containing a self extracting shell script. Just save the file, make it executable and feed it to your Unix shell (for example, by typing sh phplib.shar).

There is a PHPlib users mailing should you run into problems with the library. To subscribe to the list, send a message with subscribe as the subject to the address phplib-users-reguests@lists.sourceforge.net.