rwhartung wrote:
Hi all,
 I have a new install and am trying to get PEAR working - MDB2 to be exact.

I have modified /etc/php.ini to have the following

 include_path = ".:/php/includes:/usr/share/pear"

phpinfo() reports the directive --includedir=/usr/include

I can confirm that MDB2.php exists in that directory.
httpd has been restarted. I have literally copied the examples form the PEAR docs and I am using a postgresql backend using the bpsimple database that I can access with no problems with pg_connect() from a php script.

When using PEAR::MDB2 all I get is MDB2 Error:not found.

Ask on the pear list - http://pear.php.net/support/lists.php

and post the exact error message you're getting.. they will be able to help a lot more because they know the code base, we don't.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to