Discussion:
unsubscribe
(too old to reply)
AlmawElias Fantahun
2004-02-13 17:30:12 UTC
Permalink
unsubscribe

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org

_________________________________________________________________
Get some great ideas here for your sweetheart on Valentine's Day - and
beyond. http://special.msn.com/network/celebrateromance.armx


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
Jeremy Smith
2004-02-13 18:22:50 UTC
Permalink
Hi,

my php is not set up for postgres yet. When I try to install it using Build
Apache, I get an error that file "libpq-fe.h" is not found. Does anyone
know where to get this file and where it should be placed?

Thanks,
Jeremy


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org
scott.marlowe
2004-02-13 20:38:47 UTC
Permalink
Post by Jeremy Smith
Hi,
my php is not set up for postgres yet. When I try to install it using Build
Apache, I get an error that file "libpq-fe.h" is not found. Does anyone
know where to get this file and where it should be placed?
It this all installed from source, or RPMs?


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Jeremy Smith
2004-02-13 20:57:42 UTC
Permalink
It is a third party utility that installs it by RPMs. It should work the
same way as if I were installing the RPMs command line.

Jeremy

-----Original Message-----
From: pgsql-admin-***@postgresql.org
[mailto:pgsql-admin-***@postgresql.org]On Behalf Of scott.marlowe
Sent: Friday, February 13, 2004 3:39 PM
To: Jeremy Smith
Cc: pgsql-***@postgresql.org
Subject: Re: [ADMIN] Installing Postres support in PHP
Post by Jeremy Smith
Hi,
my php is not set up for postgres yet. When I try to install it using Build
Apache, I get an error that file "libpq-fe.h" is not found. Does anyone
know where to get this file and where it should be placed?
It this all installed from source, or RPMs?


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
scott.marlowe
2004-02-13 20:54:24 UTC
Permalink
But then you wouldn't need a .h file, as it's all rpms, it should just
need a lib (.so, etc...) I'm not sure what "build apache" means...

I always install apache/postgresql/php from source files, due to the
issues I've had finding suitable rpms in the past for all three that work
together.
Post by Jeremy Smith
It is a third party utility that installs it by RPMs. It should work the
same way as if I were installing the RPMs command line.
Jeremy
-----Original Message-----
Sent: Friday, February 13, 2004 3:39 PM
To: Jeremy Smith
Subject: Re: [ADMIN] Installing Postres support in PHP
Post by Jeremy Smith
Hi,
my php is not set up for postgres yet. When I try to install it using
Build
Post by Jeremy Smith
Apache, I get an error that file "libpq-fe.h" is not found. Does anyone
know where to get this file and where it should be placed?
It this all installed from source, or RPMs?
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Kenny Drobnack
2004-02-13 21:17:54 UTC
Permalink
Most RPM installs of PHP and postgresql I have seen have a RPM of PHP and then another RPM that provides PHP with a PostgreSQL plugin, so you may want to look into that first.

If you want to install PostgreSQL from RPM, and PHP from source, the .h files are in the postgresql-devel rpm's, which are split off from the rest of the postgresql rpm's.

Also, I believe that all three of these packages have RPM .spec files, which let you build your own RPM's from source.


On Fri, 13 Feb 2004 13:54:24 -0700 (MST)
Post by scott.marlowe
you wouldn't need a .h file, as it's all rpms, it should just
need a lib (.so, etc...) I'm not sure what "build apache" means...
I always install apache/postgresql/php from source files, due to the
issues I've had finding suitable rpms in the past for all three that work
together.
--
Kenny

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Loading...