Re: PHP/PearDB works on commandline but not via http....
| From: | pw | Date: | Thu, 19 Aug 2004 15:44:39 +0000 |
| Subject: | Re: PHP/PearDB works on commandline but not via http.... | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194259@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
Did you try: if(PEAR::isError($db)) { echo $db->getMessage().' '.$db->getUserInfo(); } It's probably because: 1) the postgres the module isn't in the PHP that apache is using 2) the postgres module isn't loaded in the PHP that apache is using 3) the postgres module in the PHP that apache is using is connecting via a socket instead of a port (or vice-versa)I think you may have something with the apache module points. I'll ask if apache has been built or is just the install from the linux distro. I built apache previously, but I didn't install this machine.... Thanks for the ideas, Peter