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 http://www.tohir.co.za/2006/07/pear-on-xampp-windows.html, 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
go-pear
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.