The following content is an excerpt from "PHP & MySQL WEB DEVELOPMENT: Second Edition" written by Luke Welling and Laura Thomson and published by SAMS.
------------------------------------------------------------------------------------
PHP 4.3 is supposed to come with the PEAR package installer. At the time of writing [NOTE: February 2003] the Linux version installs automatically, but the Windowsversion did not include this. If you are using Windows or an earlier version of PHP (from 4.1 to 4.23) you will need to download the package installer separately. You can obtain this from
http://go-pear.org.
There is exactly one script at that site. Save it as go-pear. You need to run this script through PHP from the command line. Go to the command line and type "php go-pear.
The go-pear script will ask you a few straightforward questions about where you would like the package installer and the standard PEAR classes installed, and will then download and install them for you.
At this stage you should have an installed version of the PEAR package installer. You can then simply install packages by typing pear install package-name
------------------------------------------------------------------------------------
I hope this helps. For more information see Apendix A page 809-810. I must also apologize for quoting a non-Wiley book within this great forum. However, the needs of developers come first. Good luck.
Best Regards,
Dan