Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP] phpPgAdmin ?

0 views
Skip to first unread message

Oguz Demirkapi

unread,
Feb 22, 2001, 10:17:21 AM2/22/01
to

Hi,

We have a PostgreSQL and Php 4.02 preinstalled Cobalt RaQ4r server and I
want to manage PostgreSQL via pgPgAdmin. But when I try to login I got
error such as :

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fatal error: Call to undefined function: pg_connect() in
/home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

At "Documentation.html" of phpPgAdmin there is an explanation such as :

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
phpPgAdmin can't connect to PostgreSQL. What's wrong?
Either there is an error with your PHP setup or your username/password
is wrong. Try to make a small script which uses pg_connect and see if it
works. If it doesn't, it may be you haven't even compiled PostgreSQL
support into PHP.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So how can I login into phpPgAdmin ? Do I need to install any extra
support for PHP ?

Thnx !


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general...@lists.php.net
For additional commands, e-mail: php-gene...@lists.php.net
To contact the list administrators, e-mail: php-lis...@lists.php.net

Martin A. Marques

unread,
Feb 22, 2001, 3:22:54 PM2/22/01
to
Mensaje citado por: Oguz Demirkapi <og...@oguz.de>:

>
> Hi,
>
> We have a PostgreSQL and Php 4.02 preinstalled Cobalt RaQ4r server and
> I
> want to manage PostgreSQL via pgPgAdmin. But when I try to login I got
> error such as :
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Fatal error: Call to undefined function: pg_connect() in
> /home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Do you have PHP compiled to work with Postgres? Because thats what the error
message says. It says that pg_connect is not defined, which means you don't have
a postgres php.
recompile!!!!!

Saludos... :-)


System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: mar...@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

0 new messages