Sunday, July 18, 2010

PEAR and PECL in Dreamhost Shared

I decided to use MongoDB for one of my PHP projects, you can follow Phillip Napieralski instructions for a fast build and setup. But I wanted a little more, I wanted to do it directly from PECL, nothing beats seeing your packages listed when you type $pecl config-show.

For starters you need to connect to your server via SSH, I have both a Mac and a PC so I guess am I hybrid. In windows I recommend you download Cygwin, don't forget to select the ssh package. And get ready to start typing into a black console. I'll assume that you haven't install anything in your account.