X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3A91F9DC803 for ; Wed, 11 Jan 2006 13:35:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21934-10 for ; Wed, 11 Jan 2006 13:35:55 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by postgresql.org (Postfix) with ESMTP id 2E5399DC802 for ; Wed, 11 Jan 2006 13:35:52 -0400 (AST) Received: by xproxy.gmail.com with SMTP id s14so145302wxc for ; Wed, 11 Jan 2006 09:35:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Nt+JmF/xEceIWh/+BpHN5catctZfErk+wDTopkuwONR6xvA14Lw8S0zO7Pt2eJkMD8n4aqWf3WYugaoycoU76NtzaUFXy/7XmY992Da5zQwEIZLv5sbklOcesO7wrZ2cFU9Z33xwgFHPAWIsEYaGtLM+8p9eDH3qDrcmfTBJMJ8= Received: by 10.70.25.12 with SMTP id 12mr1093940wxy; Wed, 11 Jan 2006 09:35:53 -0800 (PST) Received: by 10.70.8.1 with HTTP; Wed, 11 Jan 2006 09:35:53 -0800 (PST) Message-ID: Date: Wed, 11 Jan 2006 12:35:53 -0500 From: Patrick White To: pgsql-php@postgresql.org Subject: Re: Having tough time getting php working for postgresql.. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/21 X-Sequence-Number: 3392 Hello, I was having trouble with setting up php-pgsql, but I think I have it up and running. Before I attempt to move forward with attempting to code without knowing if the environment is setup correctly, does anybody know what exactly I am looking for in the phpinfo() tables. I did a find for pgsql, postgre, etc. and didn't find anything. I am running Windows XP Pro, Apache 2, PHP 5.1.1, PostgreSQL 8.0. Thank you in advance. Patrick On 1/10/06, Sherwin M. Harris wrote: > > > > Do NOT uninstall. The package you need to install is called php-pgsql. Yo= u > 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. > > Sherwin Harris > > > > ________________________________ > > > From: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.o= rg] > On Behalf Of manjusri schuit > Sent: Tuesday, January 10, 2006 7:05 AM > To: Jeff MacDonald > Cc: Jagan Reddy; pgsql-php@postgresql.org > Subject: Re: [PHP] Having tough time getting php working for postgresql.= . > > > > > Hello > form the php site-- > > In order to enable PostgreSQL support, --with-pgsql[=3DDIR] is required = when > you compile PHP. DIR is the PostgreSQL base install directory, defaults t= o > /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 enabled ! > So you need to unistall the default php version first. > > > > > On 1/10/06, Jeff MacDonald wrote: > > greetings, > > On Mon, 2006-01-09 at 14:23 -0800, Jagan Reddy wrote: > > Hello, > > 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 > > develoement. > > > > 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 code > > based PHP though. > > > > Thanks > > Jagan Reddy > > > > what version of redhat are you using? > > what version of the php rpm to do you have installed? (use 'rpm -q php' > to check) > > regards, > J > -- > Jeff MacDonald > Zoid Technologies, http://zoidtechnologies.com/ > > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > > > -- > Met vriendelijke groet > Manjusri Schuit