unsubscribe

Поиск
Список
Период
Сортировка
Искать

unsubscribe

От:
"AlmawElias Fantahun" <eliasfan2002@hotmail.com>
Дата:



unsubscribe

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

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

Installing Postres support in PHP

От:
"Jeremy Smith" <jer@highboard.com>
Дата:
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

Re: Installing Postres support in PHP

От:
"scott.marlowe" <scott.marlowe@ihs.com>
Дата:
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?

Re: Installing Postres support in PHP

От:
"Jeremy Smith" <jer@highboard.com>
Дата:

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


Re: Installing Postres support in PHP

От:
"scott.marlowe" <scott.marlowe@ihs.com>
Дата:
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
> 
> 
> 

Re: Installing Postres support in PHP

От:
Kenny Drobnack <kenny@jumpline.com>
Дата:
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"  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
FAQ