PEAR is bundled with PHP by default. But I don't think it is installed by default.
At the command line run the go-pear.php file. On Windows you need to 'cd' to the PHP directory.
Then type in:
php C:\PHP\PEAR\go-pear.php
Or
C:\PHP\php.exe C:\PHP\PEAR\go-pear.php
Where the go-pear.php script gets executed. This will initiate an installation process where the PEAR command line installer and many PEAR packages are installed.
Then once the installation is complete, upgrade DB. This time using the pear.bat file.
C:\PHP\pear.bat upgrade DB
This ought to upgrade the DB package to the latest one.
Now if you look at php.ini the include_path directive should also be modified containing a reference to the PEAR directory, with this modification it is now possible to include PEAR classes in your scripts regardless of where you have them located. In the case of DB it would simply be:
require_once 'DB.php';
You can get a list of PEAR command line options by running:
C:\PHP\pear.bat help
HTH!
Regards,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::