postgresql/php/apache installation question.
postgresql/php/apache installation question.
От:
Wei Wang <Wei.Wang@cl.cam.ac.uk>
Дата:
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
Re: postgresql/php/apache installation question.
От:
Scott Marlowe <scott.marlowe@ihs.com>
Дата:
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 >
Re: postgresql/php/apache installation question.
От:
"Cornelia Boenigk" <poppcorn@cornelia-boenigk.de>
Дата:
Hi all > 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. Warning Using the PostgreSQL module with PHP 4.0.6 is not recommended due to a bug in the notice message handling code. Use 4.1.0 or later. The current release of PHP is 4.2.1 Regards Conni