I believe it needs the PostgreSQL header files. Which would still be a
problem because the ./setup in PHP is going to add a /include to the end of
whatever path you give it. I gave up on building PHP from the PostgreSQL
RPM long ago so I'm not certain. I know that it has to have the libs in the
LIBPATH for the build. I'd either go complete with RPM installs or
completely from tar's myself. I use the tar method so that I know exactly
where everything is.
DEJ
> -----Original Message-----
> > Mike Field wrote:
> > I installed Redhat on a new server, and it came with PostgreSQL
> > preinstalled. I'm trying to install PHP, to run with PGSQL, but PHP
> > asks me for the "base installation directory" for pgsql. Since it
> > came pre-installed with Redhat, I don't know which directory to
> > specify. Any ideas?
>
> Hmmm... mod-php comes with RedHat 6, but I don't know how it's
> configured, as I don't use it. Does anyone else here know WHY php needs
> a base installation directory? Is it so it can run executables, or does
> it need something else?? The directory it needs is dependent upon why
> it needs it. Again, mod-php in rpm form is ALREADY included in RedHat 6,
> so you may not need to install PHP yourself.
>
> Lamar Owen
> WGCR Internet Radio
>
> ************
************