Re: Undefined function pg_connect()

Поиск
Список
Период
Сортировка
От Gustavo Amarilla Santacruz
Тема Re: Undefined function pg_connect()
Дата
Msg-id e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Undefined function pg_connect()  (Chris <dmagick@gmail.com>)
Ответы Re: Undefined function pg_connect()
Список pgsql-php
Thank you, Chris.

I use the  yum command and i got the following result:

yum install php-pgsql
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package php-pgsql-5.3.1-1.fc12.i686 already installed and latest version
Nothing to do


What i can do?

Thank you, in advance.



On Wed, Jan 27, 2010 at 9:36 PM, Chris <dmagick@gmail.com> wrote:
Gustavo Amarilla Santacruz wrote:
Hello, all.

I had installed php + postgresql on Fedora12. When the php script call to "pg_connect()", the following message is displayed:

Fatal error: Call to undefined function pg_connect() in /var/www/html/ ..... Call Stack: 0.0325 487160 1. {main}() ....


What i can do?

You need the php-pgsql package if you installed via rpm.

Once you have that installed, restart apache and see how you go.

--
Postgresql & php tutorials
http://www.designmagick.com/




---------------------------
Gustavo Amarilla

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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: problem with connection to remote server
Следующее
От: Ireneusz Tarnowski
Дата:
Сообщение: Re: problem with connection to remote server