Skip site navigation (1) Skip section navigation (2)

PHP suddenly not recognising pg_connect

From: Thom Brown <thombrown(at)gmail(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: PHP suddenly not recognising pg_connect
Date: 2009-10-12 20:38:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
I restarted apache today and suddenly a site I managed stopped working.  It
seems php no longer recognises the pg_connect command.  I'm running
PostgreSQL 8.4.1 and PHP 5.2.11 on Gentoo.  I recompiled PHP just in case
I'd upgraded PostgreSQL before without recompiling PHP with it, but no luck.
 I've checked what gentoo says I've got installed, and it says that it used
postgres as one of the includes with dev-lang/php.
I've also noticed PHP has also dropped MySQL support.  Doing a phpinfo()
check, I've got --with-pgsql=shared showing and also mysql=shared,/usr'
'--with-mysqli=shared,/usr/bin/mysql_config, but there's no section for
PostgreSQL on the page, or MySQL.

I installed pgbouncer a couple days ago too, but I don't expect that's got
anything to do with this.

What's going on?



pgsql-php by date

Next:From: Thom BrownDate: 2009-10-12 21:03:15
Subject: Re: PHP suddenly not recognising pg_connect
Previous:From: Christophe PettusDate: 2009-10-05 22:06:45
Subject: Re: checking select query syntax and semantics via php without executing

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group