pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Installing Postres support in PHP
5+ messages / 3 participants
[nested] [flat]

* Installing Postres support in PHP
@ 2004-02-13 18:22  Jeremy Smith <jer@highboard.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jeremy Smith @ 2004-02-13 18:22 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installing Postres support in PHP
@ 2004-02-13 20:38  scott.marlowe <scott.marlowe@ihs.com>
  parent: Jeremy Smith <jer@highboard.com>
  0 siblings, 1 reply; 5+ messages in thread

From: scott.marlowe @ 2004-02-13 20:38 UTC (permalink / raw)
  To: Jeremy Smith <jer@highboard.com>; +Cc: pgsql-admin

On Fri, 13 Feb 2004, Jeremy Smith wrote:

> 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?




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installing Postres support in PHP
@ 2004-02-13 20:54  scott.marlowe <scott.marlowe@ihs.com>
  parent: Jeremy Smith <jer@highboard.com>
  0 siblings, 1 reply; 5+ messages in thread

From: scott.marlowe @ 2004-02-13 20:54 UTC (permalink / raw)
  To: Jeremy Smith <jer@highboard.com>; +Cc: pgsql-admin

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.

On Fri, 13 Feb 2004, Jeremy Smith wrote:

> 
> 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-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of scott.marlowe
> Sent: Friday, February 13, 2004 3:39 PM
> To: Jeremy Smith
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] Installing Postres support in PHP
> 
> 
> On Fri, 13 Feb 2004, Jeremy Smith wrote:
> 
> > 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
> 
> 
> 




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installing Postres support in PHP
@ 2004-02-13 20:57  Jeremy Smith <jer@highboard.com>
  parent: scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jeremy Smith @ 2004-02-13 20:57 UTC (permalink / raw)
  To: scott.marlowe <scott.marlowe@ihs.com>; +Cc: pgsql-admin


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-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of scott.marlowe
Sent: Friday, February 13, 2004 3:39 PM
To: Jeremy Smith
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Installing Postres support in PHP


On Fri, 13 Feb 2004, Jeremy Smith wrote:

> 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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installing Postres support in PHP
@ 2004-02-13 21:17  Kenny Drobnack <kenny@jumpline.com>
  parent: scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Kenny Drobnack @ 2004-02-13 21:17 UTC (permalink / raw)
  To: pgsql-admin

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)
"scott.marlowe" <scott.marlowe@ihs.com> wrote:

> 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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2004-02-13 21:17 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13 18:22 Installing Postres support in PHP Jeremy Smith <jer@highboard.com>
2004-02-13 20:38 ` scott.marlowe <scott.marlowe@ihs.com>
2004-02-13 20:57   ` Jeremy Smith <jer@highboard.com>
2004-02-13 20:54     ` scott.marlowe <scott.marlowe@ihs.com>
2004-02-13 21:17       ` Kenny Drobnack <kenny@jumpline.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox