Re: Problem executing query in mysqli

From: Date: Thu, 17 Sep 2009 21:12:18 +0000
Subject: Re: Problem executing query in mysqli
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30055@lists.php.net to get a copy of this message
On Thursday 17 September 2009, Lorenzo Alberton said something like: > Joshua J. Kugler wrote: > > "unable to find package 'MDB2_Datatype' file > > 'MDB2/Datatype.php'" > > Which would explain my original error message. There is: > > is your include_path correct? Is the pear root dir > in the include path? Siiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiigh. So, on Bluehost, pear installs modules in $HOME/php. There is a php.ini for each user (that the user can edit). I *assumed* they had configured this php.ini to include $HOME/php. I also assumed that since I was including $HOME/php/MDB2.php it would find its other needed packages just fine. I assumed incorrectly. Once I added $HOME/php to the include path, it worked. Thanks so much to Lorenzo, Brett, David, and Christian for your help, guidance and tips! j -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/  ID 0x14EA086E

« previous php.pear.general (#30055) next »