phpPgAdmin

Started by danyeleover 25 years ago5 messagesgeneral
Jump to latest
#1danyele
danyele@cpatc.embrapa.br

Hi there,

I'm trying to use phpPgAdmin, but it's showing a error like " Fatal
Error : Call to unsupported or undefined function pg_connect() in
lib.inc.php on line 121" !

I'm running 7.0.2 on slackware 7.0.

Can somebody help me?

thanks for help!

Danyele

#2Brett W. McCoy
bmccoy@chapelperilous.net
In reply to: danyele (#1)
Re: phpPgAdmin

On Tue, 24 Oct 2000, danyele wrote:

I'm trying to use phpPgAdmin, but it's showing a error like " Fatal
Error : Call to unsupported or undefined function pg_connect() in
lib.inc.php on line 121" !

I'm running 7.0.2 on slackware 7.0.

Can somebody help me?

Yes, you do not have pgsql support compiled into PHP. You will need to
rebuild it with the --with-pgsql option in the configuration step. What
version of PHP are you using?

Brett W. McCoy
http://www.chapelperilous.net
---------------------------------------------------------------------------
There is not much to choose between a woman who deceives us for another,
and a woman who deceives another for ourselves.
-- Augier

#3Ron Chmara
ron@Opus1.COM
In reply to: danyele (#1)
Re: phpPgAdmin

danyele wrote:

Hi there,
I'm trying to use phpPgAdmin, but it's showing a error like " Fatal
Error : Call to unsupported or undefined function pg_connect() in
lib.inc.php on line 121" !
I'm running 7.0.2 on slackware 7.0.
Can somebody help me?

If pg_connect isn't coming up, chances are that your postgres install
wasn't set up when you installed PHP. Your php configuration steps, before
compiling, should include:

--with-pgsql=[DIRECTORY]

See:
http://uk.php.net/manual/install.configure.php
or
http://www.php.net/manual/install.configure.php

Or your local php.net mirror.

-Ron

--
Brought to you from boop!, the dual boot Linux/Win95 Compaq Presario 1625
laptop, currently running RedHat 6.1. Your bopping may vary.

#4K Parker
kparker@eudoramail.com
In reply to: Ron Chmara (#3)
Re: phpPgAdmin

The answer is easy, but not welcome. The PHP you are using was compiled without PostgreSQL support. It must be recompiled to include it.

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

#5K Parker
kparker@eudoramail.com
In reply to: K Parker (#4)
Re: phpPgAdmin

The answer is easy, but not welcome. The PHP you are using was compiled without PostgreSQL support. It must be recompiled to include it.

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com