Problems with Dreamhost and PEAR

software development



I am trying to get PEAR working with my Dreamhost account. I followed the PEAR wiki install instructions provided by Dreamhost. The install seems to have been successful. I installed the MDB2 package used the test page I found on the MDB2 wiki

However when I tried to run quick sample in Dreamhost I get the following error:

Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /home/.cantankerously/transferagent/ on line 7

I then added the following lines to the very start of the quick test script, as directed by the Dreamhost wiki entry for PEAR.

get_include_path() .
PATH_SEPARATOR . ‘/usr/local/lib/php’

But I still get the same error. Any suggestions are greatly appreciated.