Re: undefined query!!!!!

Поиск
Список
Период
Сортировка
От brew@theMode.com
Тема Re: undefined query!!!!!
Дата
Msg-id Pine.BSF.4.44.0303280755380.40579-100000@themode.com
обсуждение исходный текст
Ответ на undefined query!!!!!  ("James Cooper" <jim@luckydigital.com>)
Список pgsql-php
James......

> Fatal error: Call to undefined function: pg_query()
> when I try to query?

I think you need another package, too, possibly php4-pgsql, which contains
the php functions for postgreSQL.

apt-get install php4-pgsql

Be assured that I'm running postgreSQL, apache and php4 using off the
shelf packages in Debian (stable version) on my development laptop and it
works fine.  If you really get stuck I can check exactly what packages
I've loaded, but I think you've almost got it running.

You can check that postgreSQL support (plus lots of other information
about your php) with phpinfo.

<?php
phpinfo();
?>

Let me know......

brew


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

Предыдущее
От: Francesco Piccinini
Дата:
Сообщение: Re: undefined query!!!!!
Следующее
От: Dan Jewett
Дата:
Сообщение: empty form fields, NULLS, quoting, postgreSQL inserts into date, interval fields...