Re: postgresql/php/apache installation question.

From: Scott Marlowe <scott(dot)marlowe(at)ihs(dot)com>
To: Wei Wang <Wei(dot)Wang(at)cl(dot)cam(dot)ac(dot)uk>
Cc: pgsg <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql/php/apache installation question.
Date: 2002-05-30 20:07:51
Message-ID: Pine.LNX.4.33.0205301359500.16066-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What versions are you running? Try this:

download pgsql 7.2.1, apache 1.3.24, and php 4.0.6 or 4.1.x and untar
them.

build postgresql first, with:

cd /srcdir/postgresql-7.2.1
./configure
make
make install

then apache with:

cd /srcdir/apache_1.3.24
./configure --enable-module=most --enable-shared=max
make
make install

then php with:
cd /srcdir/php-4.0.6
./configure --with-apxs --with-pgsql
make
make install

And see if that works.

On Thu, 30 May 2002, Wei Wang wrote:

> hi,
>
> I am installing php/apache/postgresql and got stuck in the stage of configuring php. The command is:
> ./configure --with-pgsql --with-apache=../apache-_1.3.12 --enable-track-vars
>
> and got this error message:
> configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
>
>
> >From the error message, it seems that the system
> doesn't know where the psql library is.
>
> Since I am not root, I don't have access to /etc/ld.so.conf where I could put the pgsql/lib in.
>
> Is there any other way that I could let the system know where the pgsl library is?
>
>
> Great thanks.
>
>
> Wei
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Darren Ferguson 2002-05-30 20:15:56 Re: connection refused problem
Previous Message Laurette Cisneros 2002-05-30 20:07:22 timestamp