PEAR with XAMPP on Windows

Alas, I find myself having to do some work on a Windows machine. I also find myself needing some additional PEAR libraries that don’t come pre-installed as part of XAMPP. I found the below commands in a comment at, and have taken the liberty to “re-translate” them. These instructions will setup MDB2 and the MySQL MDB2 driver on your Windows XAMPP system.Open up a command prompt, and cd to your XAMPP PHP directory. Assuming XAMPP is on your C drive:

cd \xampp\php
pear install MDB2
pear install pear/MDB2#mysql

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.