Re: Trying to use PGSql with PHP

From: Frank Joerdens <frank(at)joerdens(dot)de>
To: John Tsombakos <johnts(at)ziplink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trying to use PGSql with PHP
Date: 2000-10-08 06:56:52
Message-ID: 20001008085652.B14723@rakete.joerdens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How did you install PHP & Apache? Did you configure & compile the
sources or get the rpm's from somewhere? If you're compiling PHP from
the sources, you need to configure PHP with the --with-pgsql switch. You
can check whether this is the problem (i.e. missing pgsql support) by
making a page that just contains <? phpinfo(); ?> which, if opened in a
browser, should show all the options your PHP supports.

Also, in the Support section of the PHP homepage at www.php.net, you can
subscribe to a list that is devoted entirely to PHP installation issues.

Regards, Frank

On Sun, Oct 08, 2000 at 01:20:21AM -0400, John Tsombakos wrote:
> I'm trying to setup PostgreSQL on Redhat Linux 6.2 and access it with PHP. I
> have Apache installed and working, PHP installed and working, and PostgreSQL
> installed and working. However, I'm trying to get PHP to talk to the
> PostgreSQL system. I believe I need to install php-pgsql-3.0.15-2.rpm, but
> when I try, I get an error saying the that package depends on
> 'libpq.so.2.0'. I have PostgreSQL v7.0.2 (all of the RPMS's) and PHP 3.0.15
> installed.
>
> What am I missing? I'm a bit of a newbie with Linux, so any help will be
> grateful!
>
> Thanks,
> --------------------------------
> John Tsombakos
> johnts(at)ziplink(dot)net <*>

--
frank joerdens

joerdens new media
urbanstr. 116
10967 berlin
germany

e: frank(at)joerdens(dot)de
t: +49 (0)30 69597650
f: +49 (0)30 7864046
h: http://www.joerdens.de

pgp public key: http://www.joerdens.de/pgp/frank_joerdens.asc

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jarmo Paavilainen 2000-10-08 08:55:32 SV: Postmaster startup problems
Previous Message John Tsombakos 2000-10-08 05:20:21 Trying to use PGSql with PHP