Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 59DCB633889 for ; Mon, 12 Oct 2009 17:38:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 76573-03 for ; Mon, 12 Oct 2009 20:38:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mail.postgresql.org (Postfix) with ESMTP id CF40063451D for ; Mon, 12 Oct 2009 17:38:36 -0300 (ADT) Received: by fxm25 with SMTP id 25so8976822fxm.24 for ; Mon, 12 Oct 2009 13:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=DirNTuq/RvDFjg/0HyoayR3+VIQR77gPqZBJ5cUwsnc=; b=ZFH0vfI3+LQO0Papcm5W10Q86HOcse5xuvsMOHqsXASMGlXjrxN/ToWjWWOwEsE5AR 2D9mfJnxIThubzPUf94WYzmq1Oqxl+s2eAgf5E72A9cQx6Le2Q4ckVcBhH4RX2M5/d9Q ci6DZQ6WnIehbOBpAT06/0zChdCGE1R3obbN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=oaU15Auel0y3GHHrjErnuJs5V4bK2Gi6Xpt4h5nIVisvsSldrOvnu85eL0bbSp6ERw WSoL4JUcruavG68iBBJp3Cv8P0w97+/E/XzZg7GhL6DRvWuTnRYekFVIk6ABiUoniwYJ OnxCyctcMTKSPEm2I0giTrENfQ1k3y2icaIYw= MIME-Version: 1.0 Received: by 10.223.4.148 with SMTP id 20mr1794667far.0.1255379915079; Mon, 12 Oct 2009 13:38:35 -0700 (PDT) From: Thom Brown Date: Mon, 12 Oct 2009 21:38:15 +0100 Message-ID: Subject: PHP suddenly not recognising pg_connect To: pgsql-php@postgresql.org Content-Type: multipart/alternative; boundary=000e0ce044b4e580880475c2e92a X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.549 tagged_above=-10 required=5 tests=AWL=0.049, BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200910/6 X-Sequence-Number: 4085 --000e0ce044b4e580880475c2e92a Content-Type: text/plain; charset=ISO-8859-1 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 --000e0ce044b4e580880475c2e92a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I restarted apache today and suddenly a site I managed stopped working. =A0= It seems php no longer recognises the pg_connect command. =A0I'm runnin= g PostgreSQL 8.4.1 and PHP=A05.2.11 on Gentoo. =A0I recompiled PHP just in = case I'd upgraded PostgreSQL before without recompiling PHP with it, bu= t no luck. =A0I'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. = =A0Doing a phpinfo() check, I've got=A0--with-pgsql=3Dshared showing an= d also mysql=3Dshared,/usr' '--with-mysql-sock=3D/var/run/mysqld/my= sqld.sock' '--with-mysqli=3Dshared,/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&= #39;t expect that's got anything to do with this.

<= div>What's going on?

Thom
--000e0ce044b4e580880475c2e92a--