Re: Having tough time getting php working for postgresql..

From: <operationsengineer1(at)yahoo(dot)com>
To: Patrick White <ptothew(at)gmail(dot)com>, pgsql-php(at)postgresql(dot)org
Subject: Re: Having tough time getting php working for postgresql..
Date: 2006-01-11 22:17:31
Message-ID: 20060111221731.2345.qmail@web33301.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> 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

1. test for the apache test page (prior to php
install).
2. test that phpinfo() displays (after php install).
3. edit->find to search for "sql" until you find the
reference to postgresql. it should tell you what
version you are using. of course, this is after pgsql
has been installed.

i also discuss how to use pgadminIII to test that
pgsql is working in the link to the install
instructions i posted earlier today.

once you get everything set up, you may want to
consider a db abstraction layer (i use adodb and find
it quite robust) and a forms generation and validation
class (i use manuel lemos' from phpclasses.org) it
is also very nice.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Rafael Mora 2006-01-15 22:47:23 Date/time style
Previous Message Sean Hamilton 2006-01-11 21:23:41 Re: Trapping PostgreSQL error messages