PHP suddenly not recognising pg_connect

Поиск
Список
Период
Сортировка
От Thom Brown
Тема PHP suddenly not recognising pg_connect
Дата
Msg-id bddc86150910121338v7ec1286ap878614903037a863@mail.gmail.com
обсуждение исходный текст
Ответы Re: PHP suddenly not recognising pg_connect  (Thom Brown <thombrown@gmail.com>)
Список 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-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

В списке pgsql-php по дате отправления:

Предыдущее
От: Christophe Pettus
Дата:
Сообщение: Re: checking select query syntax and semantics via php without executing
Следующее
От: Thom Brown
Дата:
Сообщение: Re: PHP suddenly not recognising pg_connect