pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thom Brown <thombrown@gmail.com>
To: pgsql-php@postgresql.org
Subject: PHP suddenly not recognising pg_connect
Date: Mon, 12 Oct 2009 21:38:15 +0100
Message-ID: <bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com> (raw)

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-mysql-sock=/var/run/mysqld/mysqld.sock'
'--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?

Thom

view thread (2+ messages)  latest in thread

Message-ID: <bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com>
Permalink:  ../bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com/
Also on:    postgresql.org/message-id/bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: thombrown@gmail.com
  Subject: Re: PHP suddenly not recognising pg_connect
  In-Reply-To: <bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com>
  References: <bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox