Do NOT uninstall. The package you need to
install is called php-pgsql. You should be able to do a (as root of course or
sudo if that is set up)
Yum install php-pgsql
Restart apache and you are good to go.
pgsql-php-owner@xxxxxxxxxxxxxx [mailto:pgsql-php-owner@xxxxxxxxxxxxxx] On Behalf Of manjusri schuit
Sent: Tuesday, January 10, 2006 7:05
To: Jeff MacDonald
Cc: Jagan Reddy;
Subject: Re: [PHP] Having tough
time getting php working for postgresql..
form the php site--
In order to enable PostgreSQL support, --with-pgsql[=DIR]
is required when you compile PHP. DIR is the PostgreSQL base install directory,
defaults to /usr/local/pgsql. If shared object
module is available, PostgreSQL module may be loaded using extension
directive in php.ini
or dl() function.
The default php instalations on most linux distro's don't come with postgresql
So you need to unistall the default php version first.
On 1/10/06, Jeff
On Mon, 2006-01-09 at 14:23 -0800, Jagan Reddy wrote:
> I have successfully compiled and installed postgresql 8.1.1. I have
> created some databases as well.
> But I want to get php working with pgsql so that I can do some web
> Whatever rpms I get and insall, it is still complaining for another.
> I believe I have PHP 4.3.9 and I tried here to insall php-pgsql4.3.9.
> No luck.
> I am still running the default PHP installed by RedHat linux
> installaion process. I have not removed and installed source
> based PHP though.
> Jagan Reddy
what version of redhat are you using?
what version of the php rpm to do you have installed? (use 'rpm -q php'
Zoid Technologies, http://zoidtechnologies.com/
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that
message can get through to the mailing
Met vriendelijke groet