Problems with Dreamhost and PEAR
Posted by: jbigelow
Posted on: 2008-05-09 23:03:00
Hi,
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
http://www.installationwiki.org/MDB2#Connecting_to_the_Database
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/gamersmark.com/dbtest.php 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.
set_include_path(
get_include_path() .
PATH_SEPARATOR . '/usr/local/lib/php'
);
But I still get the same error. Any suggestions are greatly appreciated.
Thanks,
Justin