Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D3A4D633883 for ; Mon, 12 Oct 2009 18:03:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 77258-08 for ; Mon, 12 Oct 2009 21:03:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by mail.postgresql.org (Postfix) with ESMTP id EA809633859 for ; Mon, 12 Oct 2009 18:03:36 -0300 (ADT) Received: by bwz23 with SMTP id 23so2416106bwz.19 for ; Mon, 12 Oct 2009 14:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=N0R04JGtnq4ev3Mmd+O8pI33sBTNSTr04ILq4L4tkD4=; b=eRE/S5OyTFtC4g04c87ksR1fAxj4voCW7F0ECCzuXdatCAh2YOqOExpjmRXbn9dCwz MgB9wq23CZ8iRw1mcNa05JrKWQC4oMMHbzTq41XIE4DiPV06f4TVQTDv2PrbY1EfoVl7 ZkjROuSPgm/UUxoJIfd8IyyWP+IyM05Ld3J9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qE28UY/31EHZXRPdT34FwNY+pF2fIK99TqONlHbvLmsTe/4R7C3xxJiU/HhEZUCdYS IgUT5Wyk3gHg1fzPOCe8V7+o4lC7ACeBwy/JRCGQ9HhKtFopBr6q8hs+vIcPjUy+sYo/ oqDNIEEjs1zkXa3AGDQO5fgdIJDd6KmreLzqQ= MIME-Version: 1.0 Received: by 10.223.3.155 with SMTP id 27mr1798765fan.12.1255381415090; Mon, 12 Oct 2009 14:03:35 -0700 (PDT) In-Reply-To: References: From: Thom Brown Date: Mon, 12 Oct 2009 22:03:15 +0100 Message-ID: Subject: Re: PHP suddenly not recognising pg_connect To: pgsql-php@postgresql.org Content-Type: multipart/alternative; boundary=00151747b45c4dd9f60475c343b8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.598 tagged_above=-10 required=5 tests=BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200910/7 X-Sequence-Number: 4086 --00151747b45c4dd9f60475c343b8 Content-Type: text/plain; charset=ISO-8859-1 Okay, ignore me. It appears that the ini files hadn't been updated, although looking at the merge, I don't see exactly how that helped. It's working now anyway. Postgres and MySQL are both showing in phpinfo() now. Thom 2009/10/12 Thom Brown > 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 > --00151747b45c4dd9f60475c343b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Okay, ignore me. =A0It appears that the ini files hadn't been updated, = although looking at the merge, I don't see exactly how that helped.
It's working now anyway. =A0Postgres and MySQL are both= showing in phpinfo() now.

Thom

2009/10/12 Thom = Brown <thombrow= n@gmail.com>
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

--00151747b45c4dd9f60475c343b8--