Re: Problem with postgres
| From: | Jason Wong | Date: | Tue, 01 Jun 2004 18:11:13 +0000 |
| Subject: | Re: Problem with postgres | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187387@lists.php.net to get a copy of this message | ||
On Wednesday 02 June 2004 01:31, alantodd wrote:
> I have php with pg and mysql commands working on the web site all scripts
> work. When I call them from the cmdline I get a different story. Call to
> undefined function: pg_connect() but run the same script from the web and
> it works no problem.. Anyone have some insight why this is happening
/path/to/php -i | less
to see that your php cli binary was (most likely) not compiled with the
necessary postgresql support.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The average individual's position in any hierarchy is a lot like pulling
a dogsled -- there's no real change of scenery except for the lead dog.
*/